[go: up one dir, main page]

Skip to content

Org-mode syntax highlighting

Problem to solve

Syntax highlighting in markdown READMEs is indispensible. We should support this in org-mode too.

Intended users

Further details

Org-mode is a very popular format in the FOSS world, and is arguably more powerful than markdown. Unlike markdown, it has a single, cohesive implementation that should be easy to adapt to.

Proposal

Extract the language from #+begin_src blocks, and use the rouge ruby gem to highlight the code.

Documentation

A url to org-mode docs should be enough, since org-mode is extensively documented. Or a side-note saying that #+begin_src <lang> blocks work the same as ``` blocks in markdown.