org_parser 6.2.1 copy "org_parser: ^6.2.1" to clipboard
org_parser: ^6.2.1 copied to clipboard

A pure-Dart parser for Emacs Org Mode (https://orgmode.org) markup

6.2.1 #

  • Restore compatibility with Flutter 3.24

6.2.0 #

  • Parse subscripts and superscripts

6.1.1 #

  • Allow OrgMeta nodes to be recognized inside text runs

6.1.0 #

  • Parse Org Cite citations

6.0.0 #

  • Add orgTodo parser and OrgTodoStates model
  • OrgHeadline.keyword.done now indicates whether a keyword is considered "in-progress" or "done"
  • Add interpretEmbeddedSettings arg to OrgDocument.parse. Pass true to allow detecting TODO keywords from #+TODO: (and related) meta lines.
  • OrgParserDefinition and OrgGrammarDefinition constructors now take a list of OrgTodoStates rather than string lists

5.7.0 #

  • Introduce OrgSerializer: supply a subclass to OrgNode.toMarkup to customize how a tree is serialized.
  • Add OrgSection.tags
  • Add optional where predicate to OrgTree.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.getProperties public
  • Reorganize code

5.5.0 #

  • Adjust OrgDecryptedContent to allow serializing to encrypted form
    • Supply an appropriate DecryptedContentSerializer
    • See OrgDecryptedContent.toCleartextMarkup to obtain the unencrypted form

5.4.0 #

  • Parse PGP encrypted blocks, add representation for decrypted content
  • Parse comment lines
  • Fix some editing bugs
  • Remove OrgTree.level (OrgSection.level remains)

5.3.0 #

  • Support the attachment: protocol in OrgFileLink
  • ids, customIds is now on OrgTree rather than OrgSection
  • Added OrgTree.dirs to get the :DIR: property values of the tree
  • Added OrgTree.attachDir to get the attachment directory for the tree
  • The OrgPath returned by OrgNode.find now includes the starting node as the first item
  • Added OrgFileLink.copyWith

5.2.0 #

  • Parse Emacs local variables lists to OrgLocalVariables AST node. The content, stripped of prefixes and suffixes, is available from OrgLocalVariables.contentString.

5.1.0 #

  • Add OrgNode.find method for searching for a particular node and its "path" in the document
  • Change OrgFootnoteReference properties
  • Add OrgFootnoteReference.isDefinition to 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.edit and OrgTree.editNode, as well as example.dart
  • Simple editing convenience methods added:
    • OrgListItem.toggleCheckbox
    • OrgHeadline.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.1 #

  • Fix parsing of section title text in some cases (#13)

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-id URLs
    • isOrgIdUrl & parseOrgIdUrl
    • isOrgCustomIdUrl & parseOrgCustomIdUrl
  • Add OrgDrawer.properties for obtaining drawer properties
  • Add methods for getting the ID and CUSTOM_ID properties of a section
    • OrgSection.ids
    • OrgSection.customIds
  • Add OrgTree.visitSections for efficiently walking just sections
  • OrgFileLink now correctly recognizes links with empty file parts like file:::*Section name, which point to local sections; see OrgFileLink.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 OrgFileLink class, orgFileLink variable
  • Removed the following classes; use noted replacements
    • OrgGrammarOrgGrammarDefinition().build()
    • OrgContentGrammarOrgContentGrammarDefinition().build()
    • OrgParserorg variable
    • OrgContentParserOrgContentParserDefinition().build()

2.0.0 #

  • Change class hierarchy of AST classes
    • All classes now inherit from OrgNode
    • All OrgNodes have a children property
    • OrgTree.children (sections only) is now OrgTree.sections
  • 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.3.0 - 2020-07-14 #

  • Parse inline and block LaTeX fragments (#1)

0.2.0 - 2020-06-20 #

  • Parse src blocks (#+begin_src) as OrgSrcBlock; language of block is exposed as OrgSrcBlock.language

0.1.1+1 - 2020-05-21 #

  • Add example

0.1.1 - 2020-05-06 #

  • Added OrgTable.columnIsNumeric API for determining if a table column is primarily comprised of numbers

0.1.0 - 2020-05-05 #

  • Initial release
4
likes
0
points
786
downloads

Publisher

verified publishermadlon-kay.com

Weekly Downloads

A pure-Dart parser for Emacs Org Mode (https://orgmode.org) markup

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

functional_zipper, more, petitparser

More

Packages that depend on org_parser