summaryrefslogtreecommitdiff
path: root/IDEA.md
blob: 7d570f80dfd06e36538a84d829d9cceda86cf3e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# IDEAs

## Also generate a PDF book

I could use pandoc for this (convert from Markdown to PDF). This works on Fedora Linux 34:

```
sudo dnf install pandoc wkhtmltopdf
pandoc **/*.md --pdf-engine=wkhtmltopdf --output foo.zone.pdf
```

There will be some more scripting required to get the page order and ToC correct.

## More ideas

* Sitemap generation.
* More output formats. Gopher? Groff? Plain text? PDF via Pandoc? .sh with interactive menus?
* Use https://github.com/alecthomas/chroma as a syntax highlighter