git.iko.soy/typeable/pandoc
on master help sign in
make changes_github: use details tag to make changelog collapsible.
004907fJohn MacFarlane
Makefile+1−1
@@ -55,7 +55,7 @@ fix_spacing:
55 for f in $(SOURCEFILES); do printf '%s\n' "`cat $$f`" | sed -e 's/ *$$//' > $$f.tmp; mv $$f.tmp $$f; done
55 for f in $(SOURCEFILES); do printf '%s\n' "`cat $$f`" | sed -e 's/ *$$//' > $$f.tmp; mv $$f.tmp $$f; done
56
56
57changes_github:
57changes_github:
58− pandoc --filter tools/extract-changes.hs changelog.md -t gfm --wrap=none | sed -e 's/\\#/#/g' | pbcopy
58+ pandoc --filter tools/extract-changes.hs changelog.md -t gfm --wrap=none --template tools/changes_template.html | sed -e 's/\\#/#/g' | pbcopy
59
59
60dist: man/pandoc.1
60dist: man/pandoc.1
61 cabal sdist
61 cabal sdist
tools/changes_template.htmlnew file+6
@@ -0,0 +1,6 @@
1+<details>
2+ <summary>Click to expand changelog</summary>
3+
4+$body$
5+
6+</details>