Find a file
Niklas Fasching e076412b29 html: Implement fat table rows (use tbodies to represent separators)
html does not support table separator rows as Org mode does. Emacs org export
simulates rows as defined by separators by wrapping all the rows between 2
separators into a separate tbody. The html spec is fine with that [0] so we
follow.

[0] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody
2020-06-26 20:11:14 +02:00
blorg html: Remove cosmetic whitespace inside p tags 2020-06-26 18:55:15 +02:00
etc Introduce blorg: MVP static site generator 2020-06-26 18:52:43 +02:00
org html: Implement fat table rows (use tbodies to represent separators) 2020-06-26 20:11:14 +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 Introduce blorg: MVP static site generator 2020-06-26 18:52:43 +02:00
Makefile Add make preview & update README with basic development instructions 2019-09-22 02:02:32 +02:00
README.org Introduce blorg: MVP static site generator 2020-06-26 18:52:43 +02:00

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

An Org mode parser in go. And soon a blog generator. Take a look at github pages for some examples and to try it out live in your browser. https://raw.githubusercontent.com/niklasfasching/go-org/master/etc/example.png Please note

  • the goal for the html export is to produce sensible html output, not to exactly reproduce the output of org-html-export.
  • the goal for the parser is to support a reasonable subset of Org mode. Org mode is huge and I like to follow the 80/20 rule.

usage

command line

go-org

as a library

see main.go and hugo org/convert.go

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.