Skip to content

Commit

Permalink
Tweak cheatsheet generation
Browse files Browse the repository at this point in the history
- avoid the `smart` extension, as it turns `"` into smart quotes
- prevent line wrapping in output, to avoid a large diff with the
  existing HTML
  • Loading branch information
hrutvik committed Jan 6, 2025
1 parent 1feeec0 commit 38a1aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Manual/Cheatsheet/Holmakefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CHEATSHEET_SOURCES = cheatsheet.md cheatsheet.css

cheatsheet.html: $(CHEATSHEET_SOURCES)
pandoc -s --toc -c cheatsheet.css -o cheatsheet.html --from commonmark_x cheatsheet.md
pandoc -s --toc -c cheatsheet.css -o cheatsheet.html --from commonmark_x-smart --wrap=none cheatsheet.md

EXTRA_CLEANS = cheatsheet.html

0 comments on commit 38a1aed

Please sign in to comment.