-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to show the language that is highlighted #1
Labels
Comments
Accepted, will be done as a plugin. Should be fairly easy to do. :) |
Closed
nauzilus
added a commit
to nauzilus/prism
that referenced
this issue
Feb 24, 2014
LeaVerou
added a commit
that referenced
this issue
Apr 28, 2014
Plugin to show highlighted language, per Issue #1
Closed
Golmote
pushed a commit
that referenced
this issue
Jun 19, 2015
zeitgeist87
pushed a commit
that referenced
this issue
Jan 27, 2016
…ightcss New Theme for PrismJS - Solarized Light
RunDevelopment
referenced
this issue
in RunDevelopment/prism
Aug 6, 2020
feat: add command param value token; fix: highlight inline command name...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For big code blocks it would be nice to have somewhere a badge or any other sign of what the language is in there. While it can be obvious in most cases, for some languages it would be better to show this information.
As a suggestion of the possible design — put the name of the current language in the top right corner as a backgound. However, it would need an extra markup to have it don't scroll with the content of the code block. But if it's acceptable, then it can be done by plain CSS with pseudo-element.
The text was updated successfully, but these errors were encountered: