-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Codesample plugin: allow inline code samples #3208
Comments
We have this as an internal ticket to work on, can't promise any specific release date though. |
Related question: the PrismJS documentation states that the class should be put on the code element, like so:
But the codesample-plugin puts the class on the For backward compatibility, I think both methods should be supported (I noticed that PrismJS puts the class on both the |
This issue is stale because it has been open 365 days with no activity. Please comment if you wish to keep this issue open or it will be closed in 30 days. |
This issue was closed because it has been stalled for 30 days with no activity. |
Currently, the code sample plugin only supports code blocks (
<pre>
), while PrismJS supports two types of code:<pre class="language-markup"><code> ... </code></pre>
<code class="language-markup"> ... </code>
When using both inside an editor, the inline code is displayed partially according to the PrismJS styling (background color and padding), but the language-specific styling is not applied, and the inline code is not editable using the codesample dialog.
The text was updated successfully, but these errors were encountered: