Quellcode durchsuchen

update

git-svn-id: https://plugins.svn.wordpress.org/prismatic/trunk@1521311 b8457f37-d9ea-0310-8a92-e5e31aec5664
master
Jeff Starr vor 7 Jahren
Ursprung
Commit
c9ffbc7b2b
1 geänderte Dateien mit 13 neuen und 13 gelöschten Zeilen
  1. +13
    -13
      readme.txt

+ 13
- 13
readme.txt Datei anzeigen

@@ -138,19 +138,19 @@ 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 (note: if you are reading this plugin's raw readme.txt file, [click here](https://wordpress.org/plugins/prismatic/installation/) to read the formatted text):

<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>
<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.



Laden…
Abbrechen
Speichern