update
git-svn-id: https://plugins.svn.wordpress.org/prismatic/trunk@1521298 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
c5f7a7141f
commit
3988cc15d8
46
readme.txt
46
readme.txt
@ -139,17 +139,17 @@ 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"><br>
|
||||
<table><br>
|
||||
<tr><br>
|
||||
<th>Name</th><br>
|
||||
<th>Side</th><br>
|
||||
<th>Role</th><br>
|
||||
<tr><br>
|
||||
<td>Darth</td><br>
|
||||
<td>Dark</td><br>
|
||||
<td>Sith</td><br>
|
||||
</tr><br>
|
||||
</table><br>
|
||||
<table><br>
|
||||
<tr><br>
|
||||
<th>Name</th><br>
|
||||
<th>Side</th><br>
|
||||
<th>Role</th><br>
|
||||
<tr><br>
|
||||
<td>Darth</td><br>
|
||||
<td>Dark</td><br>
|
||||
<td>Sith</td><br>
|
||||
</tr><br>
|
||||
</table><br>
|
||||
</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.
|
||||
@ -174,18 +174,18 @@ This is a single-line example, <code><?php echo 'Hello world'; ?><
|
||||
|
||||
This is a multi-line code example:
|
||||
|
||||
<pre><code>
|
||||
<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><br>
|
||||
<table><br>
|
||||
<tr><br>
|
||||
<th>Name</th><br>
|
||||
<th>Side</th><br>
|
||||
<th>Role</th><br>
|
||||
<tr><br>
|
||||
<td>Darth</td><br>
|
||||
<td>Dark</td><br>
|
||||
<td>Sith</td><br>
|
||||
</tr><br>
|
||||
</table><br>
|
||||
</code></pre>
|
||||
|
||||
So what exactly happens when the "Code Escaping" options are enabled? Here is a summary that applies to each section (post content, excerpts, and comments):
|
||||
|
Loading…
Reference in New Issue
Block a user