Daniel Burrows wrote:
>   The documentation on ikiwiki templates states that:
> 
> >    A value can include any markup that would be allowed in the wiki
> >    page outside the template.
> 
>   But in fact this doesn't seem to be the case.  Only ikiwiki directives
> (text surrounded by double square brackets) are interepreted; other
> markup might be ignored.  For example:
> 
> [[template id=note text="""
>   * Bullet 1.
>   * Bullet with [link][http://ikiwiki.info].
>   * Bullet with `code`.
>   * Bullet with *emphasis*.
> """]]
> 
>   The bullets aren't interepreted, and neither is the link, but the
> code and emphasis are.

What's going on here is that the template you're using wraps the text
inside a <span> element. Markdown skips stuff inside block-level html
elelments. If you used a template that didn't do that, the markdown
would work ok.

I think the best way to fix this is for the template parameters to be
passed through markdown before being inserted into the template. Doing
this without breaking backwards compatibility might be tricky, I'll try
to come up with something.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to