diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | footer.html | 13 | ||||
| -rw-r--r-- | style.css | 6 |
4 files changed, 17 insertions, 6 deletions
@@ -1,3 +1,3 @@ *.pdf -*.html +rcheatsheet.html *~ @@ -5,7 +5,7 @@ CSS=style.css all: pdf html rcheatsheet.html: rcheatsheet.md - cat $< | ./highlight_code.py | pandoc -f markdown_github --css $(CSS) -o $@ -; + cat $< | ./highlight_code.py | pandoc -s -S -A footer.html -f markdown_github -H $(CSS) -o $@ -; sed -i -f remove_table_width.sed $@ rcheatsheet.pdf: rcheatsheet.html diff --git a/footer.html b/footer.html new file mode 100644 index 0000000..aea745b --- /dev/null +++ b/footer.html @@ -0,0 +1,13 @@ +<p xmlns:dct="http://purl.org/dc/terms/"> +<a rel="license" + href="http://creativecommons.org/publicdomain/zero/1.0/"> + <img src="http://i.creativecommons.org/p/zero/1.0/88x31.png" style="border-style: none;" alt="CC0" /> +</a> +<br /> +To the extent possible under law, +<a rel="dct:publisher" + href="https://github.com/fischerling/rcheatsheet"> + <span property="dct:title">Florian Fischer</span></a> +has waived all copyright and related or neighboring rights to +this work. +</p> @@ -1,7 +1,4 @@ -/* - * I add this to html files generated with pandoc. - */ - +<style> html { font-size: 100%; overflow-y: scroll; @@ -327,3 +324,4 @@ table td { page-break-after: avoid; } } +</style> |
