[kramdown-users] using kramdown in xhtml

Thomas Leitner t_leitner at gmx.at
Wed Jun 9 01:53:21 EDT 2010

On 2010-06-08 13:02 -0700 Matt Neuburg wrote:

> > On 6/8/10 10:31 AM, john muhl wrote:
> >> is it possible to use kramdown in an xhtml document? or someway to
> >> say you want numeric entities instead of named entities; e.g.
> >> `“` instead of `“`?
> I agree that this option sounds desirable. I generally prefer numeric
> to named entities.
> Just to be clear, though, named entities are legal in XHTML. So this
> would be purely an XML matter. Also, the usual approach in a feed is
> to enclose everything that might be (X)HTML in <![CDATA[...]]>
> delimiters.

Is there any advantage in using named entities besides being better
understandable? I don't have a preference regarding named or numeric
entities, so if numeric entities are preferred, I will modfiy the HTML
parser to emit numeric entities.

-- Thomas

More information about the kramdown-users mailing list