by mapreduce · 2y ago · 0 comments
Where I'm coming from: I used to take org-mode notes sometime back and push them to GitHub. Everyone told me GitHub can render org-mode, so it is going to be a great experience when I want to read my notes later and when I want to share the notes with others. But sadly the GitHub org-mode parser is terrible. Instead of just using Emacs itself to parse org-mode files, GitHub has reimplemented some half-baked org-mode parser in Ruby that breaks in all sorts of edge cases. So I can still write my org-mode notes in Emacs and review them in Emacs but I cannot really share them easily with other GitHub users as the initial claims promised it to be.
For some formats that pandoc does not output, there are also specialised ox-format libraries.
There are even several exporters to Github-flavoured markdown. I personally find both ox-pandoc and ox-gfm very useful for that purpose.
https://orgmode.org/manual/LaTeX_002fPDF-export-commands.htm...
https://orgmode.org/guide/HTML-Export.html
I should add, this is `org-export-dispatch`, bound to C-c C-e by default. You can then press `lp` for PDF or `hh` for HTML.
Also, if you're interested, there are HTML themes here: https://github.com/fniessen/org-html-themes
For documents that others should read and write, I use something else (ms word/ppt/Figma.