Previous: , Up: API  


1.2 (orgwebalchemy peg)

1.2.1 Procedures

Procedure: inline-org->ast text

Parse inline Org-mode markup from text. Applies the inline-content PEG pattern to process bold, italic, raw URLs, inline code, and links, returning the resulting AST.

Procedure: org->ast str

Parse an entire Org-mode document string str into an Abstract Syntax Tree. This is the main entry point for the parser. It matches the org-doc PEG pattern and then applies process-ast to resolve hierarchical constructs like nested lists.