mirror of
https://github.com/yuin/goldmark
synced 2025-03-04 23:04:52 +00:00
Update README.md
It seems that this function has changed its name.
This commit is contained in:
parent
4ff89123a4
commit
4febcc9861
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue