Add language label to code blocks in read-only modes #4988
fonty422
started this conversation in
Feature Requests
Replies: 1 comment
-
|
Implemented in #4989. What changed:
Verified with pnpm check and browser proof on /docs/examples/code-block in Viewing mode. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
When using a code block in the static or read-only editor, it loses any label indicating the language selected while in edit mode.
Hopefully it's simple to implement, and perhaps can contain an attribute to enable/disable the label (some may not want it)
While I can modify the local downloaded package to do this, it makes it hard to upgrade/update the version.
Unless someone knows of a simple way to add this feature via custom input plugins or similar methods that will survive version changes?
Beta Was this translation helpful? Give feedback.
All reactions