markdown do not support Strikethrough ?
Aristotle Pagaltzis
pagaltzis at gmx.de
Sat Jul 24 14:14:50 EDT 2010
* John MacFarlane <jgm at berkeley.edu> [2010-07-23 17:50]:
> But using HTML isn't a great solution for pandoc, which
> supports many output formats.
IMO separating Markdown from HTML is the wrong approach. Likewise
everyone who filters out `<em>` but allows asterisks for emphasis
is doing it wrong.
Markdown is an alternative syntax for HTML. The right thing to
do with a Markdown document is convert it to regular HTML, *then*
optionally apply a tag white list, *then* optionally convert this
HTML (subset) document to other formats. If there are HTML tags
you cannot (easily) support in your target formats, just omit
them from your supported subset of HTML. That way you support
real Markdown, not a crippled Markdown-lookalike syntax.
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
More information about the Markdown-Discuss
mailing list