problems with escaping backticks

Jeremy C. Reed reed at reedmedia.net
Sat Dec 30 14:14:31 EST 2006


I can't escape backticks if on a line with other code:

$ echo 'maybe use `fixed face` for `/path/to/file` by using \`back ticks\`
around it' | /usr/pkg/bin/Markdown
<p>maybe use <code>fixed face</code> for <code>/path/to/file</code> by
using \<code>back ticks\</code> around it</p>

and this is even more wrong:

$ echo 'maybe use `fixed face` for `/path/to/file` by using \\`back
ticks\\` around it' | /usr/pkg/bin/Markdown
<p>maybe use <code>fixed face</code> for <code>/path/to/file</code> by
using \<code>back ticks\\</code> around it</p>

While this works:

$ echo 'backtick \`' | /usr/pkg/bin/Markdown
<p>backtick `</p>



>From my tests appears to be broken when two back ticks on one line.


What is the fix for this?


Thanks

Jeremy C. Reed



More information about the Markdown-Discuss mailing list