Closed lsaether closed 4 years ago
I looked into this, and the only package currently capable of doing this is docusaurus-pdf but it does not support custom styling.
Another possible approach is pandoc. Here is an example implementation via Travis I found: 1, 2, 3 but I don't think this would respect styling.
I think we better just generate from HTML, experimenting with that next: https://github.com/alextiley/convert-html-to-pdf
Let me know how it goes. I don't think we really need too much styling though, as long as we can have proper headings and italics. Maybe even using a markdown -> pdf converter would work but would require us to integrate it into the build process.
We should enable PDF download so that people can have an offline way to read the content.