Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like Org mode, but the syntax highlighting support is not great:

https://github.com/wallyqs/org-ruby/issues/64

I have been looking at AsciiDoc:

https://asciidoctor.org/docs/asciidoc-syntax-quick-reference



> I like Org mode, but the syntax highlighting support is not great

I know. That's why I said "I hope Github improves Org mode support at some point." :)

> I have been looking at AsciiDoc

If you like Org mode, you can overcome the Github/etc. Org mode rendering limitations by hosting small static sites for your projects. You may choose to do so by simply exporting Org to HTML using ox-html[1], or even exporting Org to markdown for Hugo (disclaimer: my package -> ox-hugo)[2].

I mean, if you like using Org mode, and Github et al don't see the value in improving support for that, don't use them to render Org mode docs :)

[1]: https://eless.scripter.co/

[2]: https://ox-hugo.scripter.co/


The problem isnt the quality of GitHub with Org-Mode.

The problem is that the GitHub syntax highlighter, PrettyLights, is closed source:

https://github.com/github/pages-gem/issues/160

So you cant get consistent results between github.com and github.io




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: