Find a file
Niklas Fasching eb7db9b968 Improve footnote handling
- Footnotes separator rather than headline to get around i18n
- Warn on footnote redefinition
- Do not export footnote definitions at point of definition, only in the
  footnote section.
- Do not automatically exclude Footnotes section to get around possibly hiding
  other content of such a section - and i18n.
  The user has the choice of explicitly hiding the section via a :noexport:
  tag.

and some other refactoring
2018-12-26 15:42:12 +01:00
etc Improve footnote handling 2018-12-26 15:42:12 +01:00
org Improve footnote handling 2018-12-26 15:42:12 +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
LICENSE Add MIT License 2018-12-20 20:30:14 +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 Add more test cases 2018-12-21 16:05:38 +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

  • more keywords: https://orgmode.org/manual/In_002dbuffer-settings.html
  • table of contents
  • rethink frontmatter

    • keyword customizable mapping. e.g. #+ARRAY_KWS: list kws that should become []string
    • json/yaml values.
    • lisp syntax from ox-hugo

      • too much complexity and not native to Org mode, i.e. does not even increase compatibility
    • use toml/yaml/json frontmatter from hugo (see hugo #5436)

headlines

  • auto-generate unique ids: see ox-hugo

    • what about name conflicts?

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/eb7db9b96848c5922b879e3c83ed02af84c33359/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.

  • not changing links to .org files into links to .html files

  • org comments not rendered as html comments (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