This is a Go implementation of reStructuredText. developed on the basis of Go markdown module implemented by Michael Teichgräber .
Only Support for HTML output is implemented.
This is experimental module. Highly under development.
$ go get github.com/hhatto/gorst
package main
import (
"bufio"
"os"
"github.com/hhatto/gorst"
)
func main() {
p := rst.NewParser(nil)
w := bufio.NewWriter(os.Stdout)
p.ReStructuredText(os.Stdin, rst.ToHTML(w))
w.Flush()
}
- Simple Table
- Footnotes
- Citations
- Directives (figure, contents, ...)
- etc...