Version0.9.1Verifiednot yet verifiedLicenseBSD-3-Clause
Readme
sigil-org
A Sigil library for parsing Org Mode text into SXML. Supports headlines, metadata, blocks, inline markup, tables, lists, links, and timestamps.
Features
- Headlines -- nested levels, TODO/DONE/WAIT/NEXT keywords, priorities, tags
- Metadata --
#+TITLE:,#+AUTHOR:, and other keywords - Source blocks --
#+BEGIN_SRCwith language annotation - Other blocks -- quote, example, center
- Inline markup -- bold, italic, code, verbatim, underline, strikethrough
- Links -- with or without description text
- Lists -- ordered, unordered, checkboxes
- Tables -- with separator rows and header detection
- Timestamps -- active and inactive
- Property drawers -- key/value metadata on headlines
Usage
Add sigil-org as a dependency in your package.sgl:
(from-git url: "codeberg:sigil/sigil-org" package: "sigil-org")Then parse Org text:
(import (sigil org))
;; Parse a string
(define doc (org->sxml "* Hello World\nSome text."))
;; Parse a file
(define doc (org-file->sxml "notes.org"))The result is an SXML document tree compatible with (sigil sxml).
Dependencies
- sigil-stdlib
- sigil-peg
- sigil-sxml
Building
sigil deps install
sigil build
sigil testLicense
BSD-3-Clause
Clone
$ git clone https://codeberg.org/sigil/sigil-org
Releases
v0.9.1 — latest by version, released 1 Apr 2026
All releases — 2 tags in this repository.
Source
One page per file, and every line has a permalink.
Recent commitsAtom
1 Aprcommit
29 Marcommit
Pin dependencies to version tags
c1cd4cb3
29 Marcommit
4381f4cb
29 Marcommit
afec1694
1 Marcommit
1359fb7d
22 Febcommit
5fed82a5
20 Febcommit
20 Febcommit
The last 20 commits keep a page here. Everything older lives in the clone.