swcarpentry / DEPRECATED-bc

DEPRECATED: This repository is now frozen - please see individual lesson repositories.
Other
299 stars 383 forks source link

Small Hack at IPython Template #542

Closed rgaiacs closed 10 years ago

rgaiacs commented 10 years ago

This changes at the IPython template makes pandoc handle properly our lessons. The changes at the template are in the first commit and the update to Markdown at the second commit.

rgaiacs commented 10 years ago

This include changes to support in, out and err classes.

err

gvwilson commented 10 years ago

+1 to the in, out, and err classes - since we're making the fix, can we eliminate the use of <code> inside <pre> as well?

rgaiacs commented 10 years ago

can we eliminate the use of inside

 as well?

Yes. The <code> inside <pre> was used to keep the HTML of Python and Shell lessons similar, i.e., Jekyll insert <pre><code>...</code></pre> for Markdown pre-formatted text but not when using HTML.

@gvwilson Could you confirm that we should drop the <code> inside <pre>?

gvwilson commented 10 years ago

Hm - OK, if Jekyll does <pre><code>, then we should keep that with our IPython Notebook template. Seems silly, but consistency wins.

rgaiacs commented 10 years ago

Merge as part of #435.