tweak readme.md
This commit is contained in:
parent
d15ae8c51e
commit
43d4aa8553
|
@ -94,12 +94,7 @@ opts := html.RendererOptions{
|
|||
RenderNodeHook: renderHookDropCodeBlock,
|
||||
}
|
||||
renderer := html.NewRenderer(opts)
|
||||
md := `test
|
||||
```
|
||||
code block will be dropped from output
|
||||
```
|
||||
text`
|
||||
|
||||
md := "test\n```\nthis code block will be dropped from output\n```\ntext"
|
||||
html := markdown.ToHTML([]byte(s), nil, renderer)
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue