Fantom

Login | Register

html in fandoc markup

Akcelisto
18 May 2012

I need wiki markup for site. I use fandoc markup.

  1. How to add unescaped html in resulted html?
  2. How to make custom tag or extend markup rules?
  3. <img> not render properly
![email.png]`email.png` some text

render to

<p><img src='email.png' alt='email.png'/> some text</p>

It's ok. But

some text ![email.png]`email.png` some text

render to

<p>some text ![email.png]`email.png` some text</p>

It's not ok. I expect

<p>some text <img src='email.png' alt='email.png'/> some text</p>

brian
18 May 2012

You would really have to subclass or tweak the code, because we don't really have those hooks. What we have done is used link or image tags for a bit of customization ourselves by trapping our own URIs for example.

Need to look at the image bug

Login or Register to Reply

Back | All Topics