Skip to content

Feature request: Org-mode syntax highlighting #429

Description

@LorenRiccie

Hi Simon,

I'd love to see support for Org mode (the plain-text outlining/markup format from Emacs, orgmode.org) added as a language in Runestone. Org has a fairly regular structure — heading stars, TODO keywords, tags, property drawers, source blocks — that should map well onto a Tree-sitter grammar.

There's already an actively maintained grammar to start from: https://github.com/milisims/tree-sitter-org (also at https://github.com/emiasims/tree-sitter-org), already used by nvim-treesitter for the same purpose.

Org has a real user base writing notes in plain text with no great touch-native editor for it on iOS — current options are dedicated apps (beorg, Plain Org) that lean agenda/task-focused, or code editors with only regex highlighting. Runestone's Tree-sitter architecture seems like a natural fit here.

Would you consider this? Happy to help test.

Thanks for the app!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions