hugo/markup
Nicolas Piganeau 3ba7c92530 markup/asciidoc: Add support for .TableOfContents
Fill the .TableOfContents template variable when writing Asciidoc content.
This is done by letting Asciidoc render its TOC as HTML, then extract this
HTML rendered TOC, parse it into a tableofcontents.Root and finally remove
it from the HTML content.
This aims to stay in the logic that the Asciidoc parsing is entirely done
by the external helper.

See #1687
2020-09-06 11:34:32 +02:00
..
asciidocext markup/asciidoc: Add support for .TableOfContents 2020-09-06 11:34:32 +02:00
blackfriday
converter Fixed misspelled words 2020-08-20 22:34:35 +02:00
goldmark markup/goldmark: Add a test case 2020-09-04 10:23:02 +02:00
highlight
internal
markup_config Rework external asciidoctor integration 2020-06-25 09:51:33 +02:00
mmark
org deps: Update go-org to v1.2.0 2020-06-27 13:28:01 +02:00
pandoc
rst
tableofcontents
markup.go Rework external asciidoctor integration 2020-06-25 09:51:33 +02:00
markup_test.go Rework external asciidoctor integration 2020-06-25 09:51:33 +02:00