aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--tools/changes_template.html6
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 72d7eabb8..ff18b0c77 100644
--- a/Makefile
+++ b/Makefile
@@ -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>