diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-03-15 11:23:55 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-03-15 11:23:55 -0700 |
commit | 004907f4f229b4aff2ca9c2a96b694251b51cce9 (patch) | |
tree | 119c5c03678fd5bbad2d322465255e52f73ce0a6 | |
parent | e23554cec19d89d7fb0fd5a274565a63197c8780 (diff) | |
download | pandoc-004907f4f229b4aff2ca9c2a96b694251b51cce9.tar.gz |
make changes_github: use details tag to make changelog collapsible.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | tools/changes_template.html | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -55,7 +55,7 @@ fix_spacing: for f in $(SOURCEFILES); do printf '%s\n' "`cat $$f`" | sed -e 's/ *$$//' > $$f.tmp; mv $$f.tmp $$f; done changes_github: - pandoc --filter tools/extract-changes.hs changelog.md -t gfm --wrap=none | sed -e 's/\\#/#/g' | pbcopy + pandoc --filter tools/extract-changes.hs changelog.md -t gfm --wrap=none --template tools/changes_template.html | sed -e 's/\\#/#/g' | pbcopy dist: man/pandoc.1 cabal sdist diff --git a/tools/changes_template.html b/tools/changes_template.html new file mode 100644 index 000000000..a1cb46e2e --- /dev/null +++ b/tools/changes_template.html @@ -0,0 +1,6 @@ +<details> + <summary>Click to expand changelog</summary> + +$body$ + +</details> |