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 authored and mn200 committed Jan 24, 2025
1 parent 33fff86 commit b6b4c60
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 b6b4c60

Please sign in to comment.