Skip to content

dvvc/org-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Org-Python

Org-Python is a library for parsing Emacs org-mode files and exporting them to HTML.

Usage

The parser module accepts either a file-like object or a string with the text to be parsed. It creates a parse tree that can be used to generate HTML code with the export.html module.

from orgpython.parser import parser
from orgpython.export import html

f = open('myfile.org', 'r')
orgtree = parser.parse(f)

f.close()

print(html.org_to_html(orgtree))

About

A library for parsing Emacs org-mode files and exporting them as HTML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages