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
{{ message }}
Repository navigation
[Feature Request] Add a title / label for code block #1297
[Feature Request] Add a title / label for code block
Currently there is a lot of space in the upper area of a code block due the selection box and copy button on the right.
Suggestion:
Please add an optional title or label for displaying a filename or a short description. It could be on the left side on the same level like the selection box on the right. See example below.
Advantages:
Improved visual balance
Possibility to add a short but important information like filename (e.g 'main.py') or a context (e.g. 'Example Output', 'YAML Configuration')
More consistency in complex documentation.
Optional:
Hide the complete head of the code block. So the title, selection box and the copy button will be hidden and the code will be more closer to the text above.
Activity
Vito0912 commentedon Jun 25, 2025
#1298
Philipinho commentedon Mar 2, 2026
Existing issue #675.