* John MacFarlane <j...@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/>
_______________________________________________
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to