mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-25 15:51:28 +00:00
ca68abf0bc
Previously gordmark-based TOC renderes only `KindText` and `KindString` This commit expands target node with Goldmark's renderer I am not sure of what are expected results as TOC contents in some (rare) cases but Blackfriday's behaviours are fundamentally respected. For example, - image `[image text](link)` is rendered as `<img>` tag - GFM AutoLink `gohugo.io` is rendered as text * Render AutoLink as <a> tag as Blackfriday does Fixes #6736 Fixes #6809 |
||
---|---|---|
.. | ||
goldmark_config | ||
autoid.go | ||
autoid_test.go | ||
convert.go | ||
convert_test.go | ||
render_link.go | ||
toc.go | ||
toc_test.go |