Language name in code blocks #7882
Unanswered
pushbroomsweep
asked this question in
Q&A
Replies: 1 comment
-
This is currently not available out-of-the-box. What you can do, however, is to first enable code highlighting and add a title in the code block. Here is a sample of how you can easily add a Python label to Python code blocks using CSS:
So that you can use my CSS you have to make sure to define py in the code block in my example. This is what my example looks like:
References: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to include the language name in one corner (say the bottom-right corner) of the code blocks?
Beta Was this translation helpful? Give feedback.
All reactions