diff options
author | Antoine Beaupré <anarcat@debian.org> | 2016-04-15 11:17:02 -0400 |
---|---|---|
committer | Antoine Beaupré <anarcat@debian.org> | 2016-04-15 11:17:02 -0400 |
commit | ad5b7498475ee8dbf3f4f08dfa12c39899b55da3 (patch) | |
tree | ce9bdb80b6984868c8c386743defdb1992027a13 /doc | |
parent | e5c93a6ac012e7c86b87a229f3819548cc295c6c (diff) | |
download | ikiwiki-ad5b7498475ee8dbf3f4f08dfa12c39899b55da3.tar ikiwiki-ad5b7498475ee8dbf3f4f08dfa12c39899b55da3.tar.gz |
response
Diffstat (limited to 'doc')
-rw-r--r-- | doc/todo/admonitions.mdwn | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/todo/admonitions.mdwn b/doc/todo/admonitions.mdwn index fb3268c7d..80c1a3039 100644 --- a/doc/todo/admonitions.mdwn +++ b/doc/todo/admonitions.mdwn @@ -66,3 +66,24 @@ bangs and all... > There's a "note" template bundled with ikiwiki already. > > --[[smcv]] + +>> I think you mean the `htmlize` hook, as I cannot find any `htmlize` +>> plugin.. That said, yeah, i understand the limitations of Ikiwiki +>> here. I guess that the [[ikiwiki/directive/template]] directive is a +>> good workaround, but it's not really shorter to write: +>> +>> \[[!template id=warning text="Do as I say, not as I do."]] +>> +>> than to write: +>> +>> [[!format txt """<div class="warning">Do as I say, not as I do.</div>"""]] +>> +>> ... in fact, it's actually longer. So short of allowing arbitrary +>> classes *and* fenced blocks, I don't think this can go much +>> further. +>> +>> We *could*, however, import the admonition styles from MoinMoin +>> directly. It would involve importing 5 icons from MoinMoin and +>> creating associated styles. Is that something you would be open to? +>> +>> --[[anarcat]] |