Skip to content
/ go-org Public
forked from niklasfasching/go-org

Org mode parser with html & pretty printed org rendering. also shitty static site generator.

License

Notifications You must be signed in to change notification settings

obar/go-org

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-org

An Org mode parser and static site generator in go. Take a look at github pages

https://raw.githubusercontent.com/niklasfasching/go-org/master/etc/example.png

Please note

  • the goal for the html export is to produce sensible html output, not to exactly reproduce the output of org-html-export.
  • the goal for the parser is to support a reasonable subset of Org mode. Org mode is huge and I like to follow the 80/20 rule.

usage

command line

$ go-org
USAGE: org COMMAND [ARGS]
- org render FILE OUTPUT_FORMAT
  OUTPUT_FORMAT: org, html, html-chroma
- org blorg init
- org blorg build
- org blorg serve

as a library

see main.go and hugo org/convert.go

development

  1. make setup install
  2. change things
  3. make preview (regenerates fixtures & shows output in a browser)

in general, have a look at the Makefile - it’s short enough.

resources

About

Org mode parser with html & pretty printed org rendering. also shitty static site generator.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Go 92.5%
  • Shell 4.4%
  • CSS 2.3%
  • Makefile 0.8%