Find a file
Niklas Fasching d417c2a6dd Implement escaping in src (org only) and example blocks
inside src example blocks lines starting with `\s*,` are escaped - i.e. org
mode will not try to parse them as e.g. a headline. We don't want to render the
escape commata to html so let's take them out - and put them back in before
rendering to org. Doing it this way allows us to render them correctly even
when the input did not include them.

see https://orgmode.org/manual/Literal-Examples.html#Literal-Examples
2020-04-16 16:07:54 +02:00
etc Update github pages demo for go 1.12+ 2019-06-03 17:01:38 +02:00
org Implement escaping in src (org only) and example blocks 2020-04-16 16:07:54 +02: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 Implement inline source blocks 2020-04-16 14:58:13 +02:00
Makefile Add make preview & update README with basic development instructions 2019-09-22 02:02:32 +02:00
README.org Add support for latex fragments 2019-09-28 15:04:04 +02:00

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). https://raw.githubusercontent.com/niklasfasching/go-org/master/etc/example.png 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.

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.

not yet implemented

more types of links

see https://orgmode.org/manual/External-links.html & https://orgmode.org/manual/Internal-links.html