Show More
@@ -77,10 +77,10 b' def markdown2html(source):' | |||||
77 | warnings.warn( "Node.js 0.9.12 or later wasn't found.\n" + |
|
77 | warnings.warn( "Node.js 0.9.12 or later wasn't found.\n" + | |
78 | "Nbconvert will try to use Pandoc instead.") |
|
78 | "Nbconvert will try to use Pandoc instead.") | |
79 | _node = False |
|
79 | _node = False | |
80 |
if |
|
80 | if _node: | |
81 | return markdown2html_pandoc(source) |
|
|||
82 | else: |
|
|||
83 | return markdown2html_marked(source) |
|
81 | return markdown2html_marked(source) | |
|
82 | else: | |||
|
83 | return markdown2html_pandoc(source) | |||
84 |
|
84 | |||
85 | def markdown2html_pandoc(source): |
|
85 | def markdown2html_pandoc(source): | |
86 | """Convert a markdown string to HTML via pandoc""" |
|
86 | """Convert a markdown string to HTML via pandoc""" |
General Comments 0
You need to be logged in to leave comments.
Login now