hugo/common/text
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
..
position.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
position_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
transform.go Improve shortcode indentation handling 2022-05-30 11:32:55 +02:00
transform_test.go Improve shortcode indentation handling 2022-05-30 11:32:55 +02:00