All Projects → amake → org_parser

amake / org_parser

Licence: MIT License
An Org Mode parser for Dart

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to org parser

bog
Extensions for research notes in Org mode
Stars: ✭ 57 (+171.43%)
Mutual labels:  org-mode
vimwiki2org
Convert VimWiki files to Emacs Org-Mode
Stars: ✭ 18 (-14.29%)
Mutual labels:  org-mode
babel
A Leiningen project template for literate Clojure projects w/ org-mode
Stars: ✭ 74 (+252.38%)
Mutual labels:  org-mode
phscroll
Enable partial horizontal scroll in Emacs
Stars: ✭ 52 (+147.62%)
Mutual labels:  org-mode
organic
Outliner, organizer and notes management app.
Stars: ✭ 37 (+76.19%)
Mutual labels:  org-mode
org-onenote
Post org file to onenote
Stars: ✭ 40 (+90.48%)
Mutual labels:  org-mode
github-orgmode-tests
This is a test project where you can explore how github interprets Org-mode files
Stars: ✭ 126 (+500%)
Mutual labels:  org-mode
emacs-modified-windows
Mirror of the GitLab project Emacs Modified for Windows
Stars: ✭ 79 (+276.19%)
Mutual labels:  org-mode
sword-to-org
Convert Sword modules to Org-mode outlines
Stars: ✭ 32 (+52.38%)
Mutual labels:  org-mode
tangle-rs
a collection of tools to do tangle in rust
Stars: ✭ 23 (+9.52%)
Mutual labels:  org-mode
counsel-org-clock
Counsel (Ivy) interface for org-clock
Stars: ✭ 44 (+109.52%)
Mutual labels:  org-mode
nano-agenda
A minimal org agenda for Emacs
Stars: ✭ 33 (+57.14%)
Mutual labels:  org-mode
ob-tmux
Ob-tmux is an Emacs library that allows org mode to evaluate code blocks in a tmux session.
Stars: ✭ 46 (+119.05%)
Mutual labels:  org-mode
zshorg
org-mode literate programming zsh config
Stars: ✭ 17 (-19.05%)
Mutual labels:  org-mode
dotfiles
Personal config and utils for emacs, vim, tmux, i3, git, etc.
Stars: ✭ 29 (+38.1%)
Mutual labels:  org-mode
orgmdb.el
An Emacs/org-mode watchlist manager and OMDb API client
Stars: ✭ 17 (-19.05%)
Mutual labels:  org-mode
org-agda-mode
An Emacs mode for working with Agda code in an Org-mode like fashion, more or less.
Stars: ✭ 14 (-33.33%)
Mutual labels:  org-mode
org-beamer-cn
[Deprecated] org-mode Simple Chinese Template for Beamer
Stars: ✭ 23 (+9.52%)
Mutual labels:  org-mode
ntangle
Command-line utility for Tangling of Org documents — programmed in Nim.
Stars: ✭ 56 (+166.67%)
Mutual labels:  org-mode
emacs-up
My emacs configuration files
Stars: ✭ 23 (+9.52%)
Mutual labels:  org-mode

org_parser

An Org Mode parser for Dart.

Usage

For displaying Org Mode documents in Flutter applications, see org_flutter. For an example application that displays Org Mode documents with org_parser and org_flutter, see Orgro.

This package allows you to parse raw Org Mode documents into a structured in-memory representation.

import 'package:org_parser/org_parser.dart';

final doc = OrgDocument.parse('''* TODO [#A] foo bar
baz buzz''');
print(doc.children[0].headline.keyword); // TODO

See the example for more.

Caveats

This parser was developed for an application that is halfway between pretty-printing and evaluating/interpreting, so in many cases the parsed structure does not split out constituent parts as thoroughly as needed for some applications.

Supported syntax

  • Sections/headlines

    * TODO [#A] foo bar
    
  • Blocks

    #+BEGIN_SRC
    foo bar
    #+END_SRC
    
  • Affiliated keywords

    #+name: foo
    
  • Fixed-width areas

    : foo bar
    : baz buzz
    
  • Tables

    | foo | bar |
    |-----+-----|
    | biz | baz |
    
  • Lists

    - foo
      - [X] bar
        1. baz
        2. buzz
    
  • Drawers

    :PROPERTIES:
    foo bar
    :END:
    
  • Footnotes

    Foo bar[fn:1] biz buzz
    
    [fn:1] Bazinga
    
  • Links

    [[http://example.com][example]]
    
    http://example.com
    
  • Emphasis markup

    *bold* /italic/ _underline_ +strikethrough+ ~code~ =verbatim=
    
  • Timestamps

    [2020-05-05 Tue]
    
    <2020-05-05 Tue 10:00>
    
  • Macro references

    {{{kbd(C-c C-c)}}}
    
  • LaTeX fragments

    Then we add $a^2$ to \(b^2\)
    
    \begin{equation}
    \nabla \times \mathbf{B} = \frac{1}{c}\left( 4\pi\mathbf{J} + \frac{\partial \mathbf{E}}{\partial t}\right)
    \end{equation}
    
  • Entities

    a\leftrightarrow{}b conversion
    
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].