[kramdown-users] Attribute list definitions for code blocks

Matthias Vallentin vallentin at icir.org
Tue May 31 20:10:58 EDT 2011

The construct

        some code

generates the following code:

    <pre class="language-foo"><code>
    some code

How can I push the class attribute into the code tag, rather than
applying to the outside pre tag? That is, I would like to generate the

    <pre><code class="language-foo">
    some code

Any ideas on how to achieve this?


More information about the kramdown-users mailing list