Skip to content

hhatto/gorst

Repository files navigation

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

About

Go implementation of reStructuredText

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published