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
When using a valid language specifier in a code block, file names are displayed correctly. With invalid language specifiers, they overlap with the code content.
Steps To Reproduce
Put this code block in your markdown, with an invalid language specifier xyz:
```xyz {filename="test.md"}
Hello
```
It renders like this:
Use a valid language specifier instead, e.g. txt:
```txt {filename="test.md"}
Hello
```
It renders correctly like this:
Expected Behavior
Render the filename correctly above the code even if the language specifier is mistyped. The wrong language specifier should only affect syntax highlighting.
Environment
Hugo Version: v0.122.0-extended
Browser/OS: Safari + Firefox, MacOS
Theme Version: v0.7.1
The text was updated successfully, but these errors were encountered:
Description
When using a valid language specifier in a code block, file names are displayed correctly. With invalid language specifiers, they overlap with the code content.
Steps To Reproduce
xyz
:It renders like this:
Use a valid language specifier instead, e.g.
txt
:Expected Behavior
Render the filename correctly above the code even if the language specifier is mistyped. The wrong language specifier should only affect syntax highlighting.
Environment
The text was updated successfully, but these errors were encountered: