patched https://github.com/niklasfasching/go-org for orgwiki
until now buffersettings were always appended using \n which means the first value would already be written as "\nVALUE". Not anymore. Also we finally add an option to parse just the front matter. Still not efficient as we tokenize the whole org file but i don't think saving a few milliseconds would be worth making the code uglier. |
||
---|---|---|
etc | ||
org | ||
.gitignore | ||
.travis.yml | ||
main.go | ||
Makefile | ||
README.org |
- go-org https://travis-ci.org/niklasfasching/go-org.svg?branch=master
- motivation
- next
- later
- resources
go-org https://travis-ci.org/niklasfasching/go-org.svg?branch=master
A basic org-mode parser in go
motivation
- have a org-mode AST to play around with building an org-mode language server
- hopefully add reasonable org-mode support to hugo - sadly goorgeous is broken & abandoned
later
- hugo frontmatter - see https://gohugo.io/content-management/front-matter/ -> actually seems to be handled by hugo itself
- handle #+RESULTS: raw and stuff
- affiliated keywords: see org-element.el - org-element-affiliated-keywords
- keywords: support both multi (e.g. LINK, TODO) & normal (e.g. AUTHOR, TITLE) keywords https://orgmode.org/manual/In_002dbuffer-settings.html
- links based on #+LINK
- table colgroups https://orgmode.org/worg/org-tutorials/tables.html
- table pretty printing