Find a file
Niklas Fasching 854f8e181a Improve fuzzing function
We not only want to prevent panics, we also want rendering org -> org to not
change the meaning of the file. One easy way to check that (for the
nodes that print to html) whether that holds is to compare the html output.
2018-12-20 15:52:51 +01:00
etc Fix github pages 2018-12-19 14:59:31 +01:00
org Improve fuzzing function 2018-12-20 15:52:51 +01:00
.gitignore Set up fuzzing with go-fuzz 2018-12-20 00:30:58 +01:00
.travis.yml Add wasm demo to github pages 2018-12-16 19:54:17 +01:00
main.go Improve main.go: log error to stderr, output to stdout 2018-12-18 23:53:32 +01:00
Makefile Set up fuzzing with go-fuzz 2018-12-20 00:30:58 +01:00
README.org Support list items with empty first line 2018-12-19 17:40:47 +01:00

go-org https://travis-ci.org/niklasfasching/go-org.svg?branch=master

A basic Org mode parser in go. Take a look at github pages for some examples and an online org -> html demo (requires wasm support).

next

links

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/854f8e181a3f73a019b586ead6cc84c81fbac9f6/go-org link to headline MyTarget <- this will automatically become a link - not sure i want this…

differences to goorgeous

To get a feeling take a look at goorgeous vs go-org html rendering of the examples comparison. Please note that a visual comparison is not fair to goorgeous as the stylesheet is not adapted to it. Nonetheless, the html output can be compared by taking a look in the developer console where relevant.

  • no headline ids
  • not changing links to .org files into links to .html files

  • org comments not rendered as html comments (same as ox-html.el)
  • headline priority not exported to html (same as ox-html.el)
  • goorgeous treats all `file:` links as images - go-org checks for an image file extension (same as ox-html.el)
  • no support for [@10] in ordered lists https://github.com/chaseadamsio/goorgeous/issues/18

    • do not plan to implement this