diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2017-02-12 13:06:12 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2017-02-12 13:06:12 +0100 |
| commit | 7f9c36dd1393440f3d4158d5915c0d6118d12b82 (patch) | |
| tree | 49a8fecb73bb326b06c27d63b488478b90d5b6ea | |
| parent | cf0d4622fc812b23ce0b917bbf0d95273f741fb1 (diff) | |
| download | rcheatsheet-7f9c36dd1393440f3d4158d5915c0d6118d12b82.tar.gz rcheatsheet-7f9c36dd1393440f3d4158d5915c0d6118d12b82.zip | |
add footer and make html standalone
| -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> |
