[kramdown-users] <audio> and <video> tags

Thomas Leitner t_leitner at gmx.at
Mon Dec 13 03:03:48 EST 2010


On 2010-12-12 19:24 -0700 Elliot Winkler wrote:
> I wanted to put some audio in an entry on my blog (which uses
> Kramdown), but it looks like Kramdown doesn't support either <audio>
> (or <video>, for that matter). I tried to make a patch by adding the
> tags to HTML_PARSE_AS_BLOCK and HTML_BLOCK_ELEMENTS, but it didn't
> seem to work. What am I missing here?

could you state more precisely what doesn't work? I.e. the input and
the expected output?

For example, the following input

    this is <audio>tag</audio> doit

    this is some

yields this output when using kramdown 0.12.0

    <p>this is <audio>tag</audio> doit</p>

    this is some

This output seems to be correct for me...

-- Thomas

More information about the kramdown-users mailing list