= README.adoc 2022-04-06 The beginnings of a parser for the https://asciidoc-py.github.io/index.html[Asciidoc] markup language. == Example ---- package main import ( "fmt" "strings" "ewintr.nl/adoc/format" "ewintr.nl/adoc/parser" ) func main() { sourceDoc := `= This is the title And this is the first paragraph. With some text. Lists are supported too: * Item 1 * Item 2 * Item 3 And we also have things like *bold* and _italic_.` par := parser.New(strings.NewReader(sourceDoc)) doc := par.Parse() htmlDoc := format.HTML(doc) fmt.Println(htmlDoc) // output: // // // // // This is the title // // //

And this is the first paragraph. With some text. Lists are supported too:

// //

And we also have things like bold and italic.

// } ----