Skip to content

Commit

Permalink
Request pandoc output as markdown_github-hard_line_breaks
Browse files Browse the repository at this point in the history
This solve problems displaying MediaWiki's preformatted blocks
(sometimes used for code or terminal snippets). See also
jgm/pandoc#1993
  • Loading branch information
peterjc committed Mar 5, 2015
1 parent 7144e27 commit aa85291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def dump_revision(mw_filename, md_filename, text, title):
mkdir_recursive(folder)
child = subprocess.Popen([pandoc,
"-f", "mediawiki",
"-t", "markdown_github",
"-t", "markdown_github-hard_line_breaks",
mw_filename],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
Expand Down

0 comments on commit aa85291

Please sign in to comment.