Skip to content

dlparker/pyorg2

 
 

Repository files navigation

Was for mods that were eventually intended to support org-roam links. Useful things still here are improved and updated tests.

rest of this file is from original repo

The org-mode parser for python

Supported Feature

This parser support org-mode syntaxes below.

Headings

* Heading Level 1
** Heading Level 2
*** Heading Level 3
**** Heading Level 4
***** Heading Level 5
****** Heading Level 6

HyperLink

[[http://example.com][Link Title]]
[[https://example.com][Link Title]]
[[http://example.com]]
[[https://example.com]]

Image

[[image path]]

Styling

Bold

*bold text*

Italic

/italic text/

Underlined

_underlined text_

Line Through

+line-through text+

Inline-Code

=inline code=

Monospace Text

~monospace text~

Blockquote

#+BEGIN_QUOTE
quoted text without cite
#+END_QUOTE

#+BEGIN_QUOTE: cite
quoted text with cite
#+END_QUOTE

Lists

Ordered List

1. hoge
2. fuga
3. piyo
  1) foo
  2) bar
  3) baz

UnOrdered List

- hoge
- fuga
- piyo
  + foo
  + bar
  + baz

Definition List

- hoge :: hoge is hoge
- fuga :: fuga is fuga
- piyo :: piyo is piyo
  + foo :: foo is foo
  + bar :: bar is bar
  + baz :: baz is baz

Table

| row1-1 | row1-2 | row1-3 |
| row2-1 | row2-2 | row2-3 |
| row3-1 | row3-2 | row3-3 |

About

Org-mode Parser for Python with support for org-roam

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%