sigildocs

(sigil org)

Exports

org->sxmlprocedure

Parse Org Mode text into an SXML document.

Returns an org-document SXML element.

(org->sxml "#+TITLE: Hello\n\n* Section 1\n\nSome text.")
; => (org-document (@ (title "Hello"))
;      (headline (@ (level 1)) "Section 1"
;        (section (paragraph "Some text."))))

Parse an Org Mode file into an SXML document.

(org-file->sxml "notes.org")