Skip to content

hhatto/gorst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ca9f730 · Oct 29, 2018

History

50 Commits
Feb 18, 2015
Mar 30, 2018
Mar 4, 2015
Feb 18, 2015
Jun 16, 2017
Feb 18, 2015
Jun 20, 2017
Feb 18, 2015
Mar 3, 2015
Feb 18, 2015
Jun 16, 2017
Oct 29, 2018
Oct 29, 2018
Jun 16, 2017
Oct 2, 2018

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