Open MartinSavc opened 8 months ago
Information:
Description The examples for using the command line plugin here show that you only need to specify the class 'command-line', like so:
\<pre class="command-line">
However prismjs doesn't pick this up. The additional language of the command-line must also be specified like so:
\<pre class="command-line language-bash">
I solved this issue by looking that the source code of the examples.
Examples It can be demonstrated on the examples website here by editing the source code and removing the language-* class from a \<pre>.
Information:
Description The examples for using the command line plugin here show that you only need to specify the class 'command-line', like so:
\<pre class="command-line">
However prismjs doesn't pick this up. The additional language of the command-line must also be specified like so:
\<pre class="command-line language-bash">
I solved this issue by looking that the source code of the examples.
Examples It can be demonstrated on the examples website here by editing the source code and removing the language-* class from a \<pre>.