Hi,

when reviewing the lessons for a workshop next week I notice some problems
with code samples. What I found out is

    $ cat quote.md 
    ```
    foobar
    ```
    $ kramdown quote.md 
    <p><code>
    foobar
    </code></p>
    $ cat tilde.md 
    ~~
    foobar
    ~~
    $ kramdown tilde.md 
    <pre><code>foobar
    </code></pre>

When you use ``` as code block delimiter kramdown
(the parser used by Jekyll/GitHub Pages) doesn't
insert the <pre> tag and because of it all the code sample
is display in the same line (at least with Firefox).

Please use ~~~ as code block delimiter when using Jekyll/GitHub Pages.

I report this bug at https://github.com/gettalong/kramdown/issues/189.

Cheers,
Raniere

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org

Reply via email to