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 markup/goldmark: Add an optional Blackfriday auto ID strategy 2020-01-05 11:56:05 +01:00
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 markup/highlight: Fix chroma highlight 2020-02-17 14:59:26 +01:00
internal Add Goldmark as the new default markdown handler 2019-11-23 14:12:24 +01:00
markup_config Rework external asciidoctor integration 2020-06-25 09:51:33 +02:00
mmark Add render template hooks for links and images 2019-12-18 11:44:40 +01:00
org deps: Update go-org to v1.2.0 2020-06-27 13:28:01 +02:00
pandoc Add render template hooks for links and images 2019-12-18 11:44:40 +01:00
rst Add render template hooks for links and images 2019-12-18 11:44:40 +01:00
tableofcontents markup/tableofcontents: Add config option for ordered list 2019-12-12 07:48:40 +01:00
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