From: Antoine Beaupré Date: Fri, 15 Apr 2016 15:17:02 +0000 (-0400) Subject: response X-Git-Tag: 3.20160506~21^2~10 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/ad5b7498475ee8dbf3f4f08dfa12c39899b55da3 response --- 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 """
Do as I say, not as I do.
"""]] +>> +>> ... 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]]