git-svn-id: https://plugins.svn.wordpress.org/prismatic/trunk@1521293 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
Jeff Starr 2016-10-24 18:07:02 +00:00
parent ff08257a2b
commit c5f7a7141f

View File

@ -138,18 +138,18 @@ With the proper markup in place, you can indicate a specific language by adding
Likewise, to indicate HTML as the language for a multi-line code snippet: Likewise, to indicate HTML as the language for a multi-line code snippet:
&lt;pre&gt;&lt;code class="language-html"&gt; &lt;pre&gt;&lt;code class="language-html"&gt;<br>
&lt;table&gt; &lt;table&gt;<br>
&lt;tr&gt; &lt;tr&gt;<br>
&lt;th&gt;Name&lt;/th&gt; &lt;th&gt;Name&lt;/th&gt;<br>
&lt;th&gt;Side&lt;/th&gt; &lt;th&gt;Side&lt;/th&gt;<br>
&lt;th&gt;Role&lt;/th&gt; &lt;th&gt;Role&lt;/th&gt;<br>
&lt;tr&gt; &lt;tr&gt;<br>
&lt;td&gt;Darth&lt;/td&gt; &lt;td&gt;Darth&lt;/td&gt;<br>
&lt;td&gt;Dark&lt;/td&gt; &lt;td&gt;Dark&lt;/td&gt;<br>
&lt;td&gt;Sith&lt;/td&gt; &lt;td&gt;Sith&lt;/td&gt;<br>
&lt;/tr&gt; &lt;/tr&gt;<br>
&lt;/table&gt; &lt;/table&gt;<br>
&lt;/code&gt;&lt;/pre&gt; &lt;/code&gt;&lt;/pre&gt;
So the prefix of the class names are the same for Prism.js and Highlight.js. The difference is the language identifier used to specify each language. Check out the following "About Prism.js" and "About Highlight.js" sections for more information. So the prefix of the class names are the same for Prism.js and Highlight.js. The difference is the language identifier used to specify each language. Check out the following "About Prism.js" and "About Highlight.js" sections for more information.