tweak godoc some more
This commit is contained in:
parent
75da2f03e9
commit
e48508af46
12
doc.go
12
doc.go
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue