http://zwol.livejournal.com/ 2009-05-15 01:29:40 -04:00 committed by Joey Hess
parent 8a65444990
commit 571dad3eb5
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
The standalone 'markdown' utility is perfectly happy with an external link inside a `<h1>`, e.g.:
# Review of [Dwarf Fortress][]
...
[Dwarf Fortress]: http://www.bay12games.com/dwarves/
produces
<h1>Review of <a href="http://www.bay12games.com/dwarves/">Dwarf Fortress</a></h1>
but when I try to use this construct in an ikiwiki page, I get
<h1>Review of [Dwarf Fortress][]</h1>
It works fine with h2 and deeper. The square brackets also appear in the output of an [[directive/inline]] directive in archive mode, I haven't tried non-archive mode.