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
I've recently noticed that alert shortcode placed right after a code block (w/ line numbers enabled, that's important) results in 2 elements being glued together (there's no vertical space between them, see screenshot below).
Issue description
I've recently noticed that alert shortcode placed right after a code block (w/ line numbers enabled, that's important) results in 2 elements being glued together (there's no vertical space between them, see screenshot below).
Steps to reproduce
hugo new site alert-test --format yaml
cd alert-test && hugo mod init foo
hugo new content content/test.md
mkdir -p config/_default && mv hugo.yaml config/_default
config/_default/module.yaml
with the following contents:echo "colorScheme: ocean" > config/_default/params.yaml
(optional, applies to all colorschemes)content/test.md
content so it looks like this gisthugo server
Current state
Expected state
Vertical space is rendered between
alert
and code block.Noteworthy facts
linenos
option is used inside code fencesTheme version
v2.10.0
Hugo version
hugo v0.140.2+extended+withdeploy darwin/arm64 BuildDate=2024-12-30T15:01:53Z VendorInfo=brew
Which browser rendering engines are you seeing the problem on?
Chromium (Google Chrome, Microsoft Edge, Brave, Vivaldi, Opera, etc.), Firefox (Mozilla Firefox), WebKit (Safari)
URL to sample repository or website
No response
Hugo output or build error messages
The text was updated successfully, but these errors were encountered: