Skip to content

Commit

Permalink
Tutorial: show nice dashes in HTML
Browse files Browse the repository at this point in the history
Use pandoc's "--smart" option to convert "--" and "---" to the expected
dashes. This was already done in the LaTeX (and therefore PDF) but not in
the HTML.

Signed-off-by: Nadav Har'El <[email protected]>
Message-Id: <[email protected]>
  • Loading branch information
nyh authored and duarten committed Feb 26, 2018
1 parent f841d2d commit 1821af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ def have_hwloc():
description = CSCOPE
build cscope: cscope
rule md2html
command = pandoc --self-contained --toc -c doc/template.css -V documentclass=report --chapters --number-sections -f markdown_github+pandoc_title_block --highlight-style tango $in -o $out
command = pandoc --self-contained --smart --toc -c doc/template.css -V documentclass=report --chapters --number-sections -f markdown_github+pandoc_title_block --highlight-style tango $in -o $out
description = PANDOC $out
rule md2pdf
command = pandoc -f markdown_github+pandoc_title_block --highlight-style tango --template=doc/template.tex $in -o $out
Expand Down

0 comments on commit 1821af8

Please sign in to comment.