patched https://github.com/niklasfasching/go-org for orgwiki
writer.footnotes must be a pointer as we copy the writer in nodesAsString() and can thus end up modifying the footnotes.list slice without it being reflected in the original writer (i.e. when the backing array of the slice changes). |
||
---|---|---|
etc | ||
org | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
main.go | ||
Makefile | ||
README.org |
go-org https://travis-ci.org/niklasfasching/go-org.svg?branch=master
An Org mode parser in go.
Take a look at github pages for some examples and an online org -> html demo (wasm based).
Please note that the goal for the html export is to produce sensible html output, not to exactly reproduce output the output of
org-html-export
.
not yet implemented
deadlines and scheduling
latex fragments
see https://orgmode.org/manual/LaTeX-fragments.html
- mathjax for html_writer ?
more types of links
see https://orgmode.org/manual/External-links.html & https://orgmode.org/manual/Internal-links.html
- radio target <<<MyTarget>>>
- link target: <<go-org>>
- link: /OrgWiki/go-org-orgwiki/src/commit/f67a251e275727cfb599237a9ba0d1af9806cf47/go-org
- link to headline
- links with image as description
- MyTarget <- this will automatically become a link - not sure i want this…
resources
-
test files
- https://orgmode.org/manual/
- https://orgmode.org/worg/dev/org-syntax.html
-
https://code.orgmode.org/bzg/org-mode/src/master/lisp/org.el
- https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-element.el
- mostly those & ox-html.el, but yeah, all of https://code.orgmode.org/bzg/org-mode/src/master/lisp/
- existing Org mode implementations: org, org-ruby, goorgeous, pandoc