Go implementation of reStructuredText
Go Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.rst

gorst

Build status GoDoc

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.

Installation

$ go get github.com/hhatto/gorst

Usage

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()
}

TODO

  • Simple Table
  • Footnotes
  • Citations
  • Directives (figure, contents, ...)
  • etc...