Update README.md

It seems that this function has changed its name.
This commit is contained in:
Alexey Mironov 2019-05-15 12:11:49 +03:00 committed by GitHub
parent 4ff89123a4
commit 4febcc9861
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ if err := goldmark.Convert(source, &buf); err != nil {
Customize a parser and a renderer:
```go
md := goldmark.NewMarkdown(
md := goldmark.New(
goldmark.WithExtensions(extension.GFM),
goldmark.WithParserOptions(
parser.WithAutoHeadingID(),