hugo/parser/pageparser
Bjørn Erik Pedersen d2cfaede5b
Improve shortcode indentation handling
* Record the leading whitespace (tabs, spaces) before the shortcode when parsing the page.
* Apply that indentation to the rendered result of shortcodes without inner content (where the user will apply indentation).

Fixes #9946
2022-05-30 11:32:55 +02:00
..
doc.go make sure documentation intro text only appears once 2020-07-21 00:47:55 +02:00
item.go Improve shortcode indentation handling 2022-05-30 11:32:55 +02:00
item_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
itemtype_string.go Improve shortcode indentation handling 2022-05-30 11:32:55 +02:00
pagelexer.go Improve shortcode indentation handling 2022-05-30 11:32:55 +02:00
pagelexer_intro.go all: Fix minor typos 2020-12-16 12:11:32 +01:00
pagelexer_shortcode.go all: Fix minor typos 2020-12-16 12:11:32 +01:00
pagelexer_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
pageparser.go Improve shortcode indentation handling 2022-05-30 11:32:55 +02:00
pageparser_intro_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
pageparser_main_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
pageparser_shortcode_test.go Improve shortcode indentation handling 2022-05-30 11:32:55 +02:00
pageparser_test.go Introduce a tree map for all content 2020-02-18 09:49:42 +01:00