tweak godoc some more

This commit is contained in:
Krzysztof Kowalczyk 2018-01-26 14:46:57 -08:00
parent 75da2f03e9
commit e48508af46
1 changed files with 6 additions and 6 deletions

12
doc.go
View File

@ -11,12 +11,12 @@
//
// Customizing parsing and HTML rendering
//
// md := []byte("markdown document")
// extensions := CommonExtensions | AutoHeadingIDs
// parser := NewParserWithExensions(extensions)
// htmlParams := CommonHTMLFlags | HrefTargetBlank
// renderer := NewHTMLRenderer(htmlParams)
// html := ToHTML(md, parser, renderer)
// md := []byte("markdown document")
// extensions := CommonExtensions | AutoHeadingIDs
// parser := NewParserWithExensions(extensions)
// htmlParams := CommonHTMLFlags | HrefTargetBlank
// renderer := NewHTMLRenderer(htmlParams)
// html := ToHTML(md, parser, renderer)
//
// For a cmd-line tool see https://github.com/gomarkdown/markdown/tree/master/cmd/mdtohtml
package markdown