diff --git a/readme.txt b/readme.txt index 75f6e78..04e6926 100644 --- a/readme.txt +++ b/readme.txt @@ -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: -<pre><code class="language-html"> - <table> - <tr> - <th>Name</th> - <th>Side</th> - <th>Role</th> - <tr> - <td>Darth</td> - <td>Dark</td> - <td>Sith</td> - </tr> - </table> +<pre><code class="language-html">
+ <table>
+ <tr>
+ <th>Name</th>
+ <th>Side</th>
+ <th>Role</th>
+ <tr>
+ <td>Darth</td>
+ <td>Dark</td>
+ <td>Sith</td>
+ </tr>
+ </table>
</code></pre> 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.