org_parser 8.0.0
org_parser: ^8.0.0 copied to clipboard
A pure-Dart parser for Emacs Org Mode (https://orgmode.org) markup
8.0.0 #
- Markups (bold, italic, etc.) and sub/superscripts can now contain nested rich content
- List items containing blocks and drawers are parsed more accurately
- Drawer parsing accuracy is improved
7.2.0 #
- Parse
<<link targtes>>and<<<radio targets>>> - Parse links to radio targets. This requires a second parsing pass; see the
interpretEmbeddedSettingsarg toOrgDocument.parse. - Improve Unicode handling
7.1.2 #
- Fix bugs in
OrgNode.contains
7.1.1 #
- Minor optimization
7.1.0 #
- Parse horizontal rules to
OrgHorizontalRule
7.0.1 #
- Fix parsing of diary timestamps
7.0.0 #
- Replace
OrgTimestampwith specialized classesOrgDiaryTimestamp,OrgSimpleTimestamp,OrgTimeRangeTimestamp,OrgDateRangeTimestamp
- Introduce
OrgSubSuperscriptsealed parent class
6.6.0 #
- Introduce
OrgStatisticsCookieparent class - Add
OrgStatisticsCookie.updatemethod - Fix identifying numerical table cells
6.5.0 #
- Parse statistics cookies
- Minor optimizations
6.4.3 #
- Upgrade dependencies
6.4.2 #
OrgParagraphs are now split on blank lines like in Emacs
6.4.1 #
- Minor optimization
6.4.0 #
- Support entities in subscripts and superscripts
6.3.0 #
- Support non-ASCII headline tags
6.2.2 #
- Fix lower bound of more dependency
6.2.1 #
- Restore compatibility with Flutter 3.24
6.2.0 #
- Parse subscripts and superscripts
6.1.1 #
- Allow
OrgMetanodes to be recognized inside text runs
6.1.0 #
- Parse Org Cite citations
6.0.0 #
- Add
orgTodoparser andOrgTodoStatesmodel OrgHeadline.keyword.donenow indicates whether a keyword is considered "in-progress" or "done"- Add
interpretEmbeddedSettingsarg toOrgDocument.parse. Passtrueto allow detecting TODO keywords from#+TODO:(and related) meta lines. OrgParserDefinitionandOrgGrammarDefinitionconstructors now take a list ofOrgTodoStatesrather than string lists
5.7.0 #
- Introduce
OrgSerializer: supply a subclass toOrgNode.toMarkupto customize how a tree is serialized. - Add
OrgSection.tags - Add optional
wherepredicate toOrgTree.findContainingTree
5.6.1 #
- Bug fixes
5.6.0 #
- Add parser, AST for the Org query language described in the Matching tags and properties section of the Org manual
- Make
OrgTree.getPropertiespublic - Reorganize code
5.5.0 #
- Adjust
OrgDecryptedContentto allow serializing to encrypted form- Supply an appropriate
DecryptedContentSerializer - See
OrgDecryptedContent.toCleartextMarkupto obtain the unencrypted form
- Supply an appropriate
5.4.0 #
- Parse PGP encrypted blocks, add representation for decrypted content
- Parse comment lines
- Fix some editing bugs
- Remove
OrgTree.level(OrgSection.levelremains)
5.3.0 #
- Support the
attachment:protocol inOrgFileLink ids,customIdsis now onOrgTreerather thanOrgSection- Added
OrgTree.dirsto get the:DIR:property values of the tree - Added
OrgTree.attachDirto get the attachment directory for the tree - The
OrgPathreturned byOrgNode.findnow includes the starting node as the first item - Added
OrgFileLink.copyWith
5.2.0 #
- Parse Emacs local variables
lists
to
OrgLocalVariablesAST node. The content, stripped of prefixes and suffixes, is available fromOrgLocalVariables.contentString.
5.1.0 #
- Add
OrgNode.findmethod for searching for a particular node and its "path" in the document - Change
OrgFootnoteReferenceproperties - Add
OrgFootnoteReference.isDefinitionto indicate whether reference is part of a footnote definition or merely a reference
5.0.0 #
- Full support for dumping AST back to Org markup:
OrgNode.toMarkup- Errors in round-tripping are now considered bugs
- Various changes in AST class properties to better support dumping to markup
- While the AST remains immutable, editing operations are now possible via
zipper; see
OrgTree.editandOrgTree.editNode, as well as example.dart - Simple editing convenience methods added:
OrgListItem.toggleCheckboxOrgHeadline.cycleTodo
4.1.1 #
- Fix support for inline markup in header titles
4.1.0 #
- Support "greater" blocks with arbitrary names such as
#+begin_foo - Add initial support for dumping AST back to Org markup:
OrgNode.toMarkup
4.0.0 #
- Update to petitparser 6.0.1
- Require Dart 3.0 or higher
3.1.0 #
- Update to petitparser 5.4.0
3.0.0 #
- Require petitparser 5.1.0 or higher
- Require Dart 2.18 or higher
2.2.1 #
- Add dartdoc comments to AST, grammar, and parser objects
- Fix incorrect parsing of star-only headlines (#5)
2.2.0 #
- Add utilities for recognizing, parsing
id:and#custom-idURLsisOrgIdUrl&parseOrgIdUrlisOrgCustomIdUrl&parseOrgCustomIdUrl
- Add
OrgDrawer.propertiesfor obtaining drawer properties - Add methods for getting the
IDandCUSTOM_IDproperties of a sectionOrgSection.idsOrgSection.customIds
- Add
OrgTree.visitSectionsfor efficiently walking just sections OrgFileLinknow correctly recognizes links with empty file parts likefile:::*Section name, which point to local sections; seeOrgFileLink.isLocal.
2.1.1 #
- Require petitparser 4.1.0 or higher
2.1.0 #
- Relicense under the MIT License
- "Plain" links of all built-in types are now recognized (not just http(s): and mailto:)
- Added parser, AST for file links; see
OrgFileLinkclass,orgFileLinkvariable - Removed the following classes; use noted replacements
OrgGrammar→OrgGrammarDefinition().build()OrgContentGrammar→OrgContentGrammarDefinition().build()OrgParser→orgvariableOrgContentParser→OrgContentParserDefinition().build()
2.0.0 #
- Change class hierarchy of AST classes
- All classes now inherit from
OrgNode - All
OrgNodes have achildrenproperty OrgTree.children(sections only) is nowOrgTree.sections
- All classes now inherit from
- Easily walk an AST with
OrgNode.visit
1.0.1 #
- Fix nullability errors in headline, src block
1.0.0 #
- Migrate to non-nullable by default
0.5.0 - 2021-12-16 #
- Fix parsing of non-property drawer content
- Parse planning/clock lines as separate elements (#2)
0.4.1 - 2020-08-29 #
- Fix inline style markup (
*foo*,+bar+, etc.) to span at most one line break
0.4.0 - 2020-07-21 #
- Parse entities (
\frac12→ ½, etc.)
0.3.2 - 2020-07-18 #
- More accurate tag handling in section headlines
0.3.1 - 2020-07-18 #
- Fix section headline parsing error
0.2.0 - 2020-06-20 #
- Parse src blocks (
#+begin_src) asOrgSrcBlock; language of block is exposed asOrgSrcBlock.language
0.1.1+1 - 2020-05-21 #
- Add example
0.1.1 - 2020-05-06 #
- Added
OrgTable.columnIsNumericAPI for determining if a table column is primarily comprised of numbers
0.1.0 - 2020-05-05 #
- Initial release