Thanks Raniere - can you please open an issue against the validator [1]
to check this? There are many variations on Markdown out there that
people might be used to, so we should check that authors are using the
one we want in our lessons.
Thanks,
Greg
p.s. and as a follow-up to yesterday's lab meeting, anyone who has some
time to do a bit of Python coding to help us get that validator finished
would be very welcome to dive in...
[1] https://github.com/swcarpentry/lesson-template
On 2014-12-05 7:17 AM, Raniere Silva wrote:
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
_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org
--
Dr. Greg Wilson | [email protected]
Software Carpentry | http://software-carpentry.org
_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org