You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have had some discussion in this area, which reminded me of how it can be to get the indentation/leading whitespace for shortcodes, especially shortcodes that outputs Markdown.
Some problem areas are nested Markdown lists, code blocks that's not clode blocks...
* 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).
Fixesgohugoio#9946
bep
added a commit
to bep/hugo
that referenced
this issue
May 29, 2022
* 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).
Fixesgohugoio#9946
bep
added a commit
to bep/hugo
that referenced
this issue
May 29, 2022
* 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).
Fixesgohugoio#9946
bep
added a commit
to bep/hugo
that referenced
this issue
May 30, 2022
* 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).
Fixesgohugoio#9946
We have had some discussion in this area, which reminded me of how it can be to get the indentation/leading whitespace for shortcodes, especially shortcodes that outputs Markdown.
Some problem areas are nested Markdown lists, code blocks that's not clode blocks...
One example.
Shortcodes:
mark1.md:
mark2.md:
And then, the Markdown file:
With the above I would expect something like:
What I actually get is:
Proposed solution
The text was updated successfully, but these errors were encountered: