From 3988cc15d84b38ba35e6a804e466db677fc7eb0f Mon Sep 17 00:00:00 2001 From: Jeff Starr Date: Mon, 24 Oct 2016 18:11:20 +0000 Subject: [PATCH] update git-svn-id: https://plugins.svn.wordpress.org/prismatic/trunk@1521298 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- readme.txt | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/readme.txt b/readme.txt index 04e6926..f6a1b94 100644 --- a/readme.txt +++ b/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">
- <table>
- <tr>
- <th>Name</th>
- <th>Side</th>
- <th>Role</th>
- <tr>
- <td>Darth</td>
- <td>Dark</td>
- <td>Sith</td>
- </tr>
- </table>
+     <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. @@ -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>
+     <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 what exactly happens when the "Code Escaping" options are enabled? Here is a summary that applies to each section (post content, excerpts, and comments):