hugo/markup
satotake ca68abf0bc
Fix goldmark toc rendering
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
2020-02-22 18:06:30 +01:00
..
asciidoc
blackfriday markup/goldmark: Add an optional Blackfriday auto ID strategy 2020-01-05 11:56:05 +01:00
converter Fix RenderString for pages without content 2020-02-18 14:08:59 +01:00
goldmark Fix goldmark toc rendering 2020-02-22 18:06:30 +01:00
highlight markup/highlight: Fix chroma highlight 2020-02-17 14:59:26 +01:00
internal
markup_config
mmark
org
pandoc
rst
tableofcontents
markup.go
markup_test.go