Browse Source

update

git-svn-id: https://plugins.svn.wordpress.org/prismatic/trunk@1521336 b8457f37-d9ea-0310-8a92-e5e31aec5664
master
Jeff Starr 7 years ago
parent
commit
837319bf87
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      readme.txt

+ 3
- 3
readme.txt View File

@@ -166,7 +166,7 @@ Just like Prism.js and Highlight.js, the Prismatic plugin follows HTML coding st

1. Visit the Prismatic General Settings and choose your library
2. Enable "Code Escaping" via the settings tab of your chosen library
3. Do one of the following:]
3. Do one of the following:
* Wrap multi-line code with pre & code tags: <pre><code>...</code></pre>
* Wrap single-line code with code tags: <code>...</code>

@@ -174,7 +174,7 @@ For example, the code snippets included in either of the following markup exampl

This is a single-line example:

<code class="language-php"><?php echo 'Hello world'; ?></code>.
<code class="language-php"><?php echo 'Hello world'; ?></code>

This is a multi-line code example:
@@ -199,7 +199,7 @@ So what exactly happens when the "Code Escaping" options are enabled? Here is a
* __Frontend &amp; Admin Area__ - both of the previous are applied
* __None__ - all code escaping is disabled

Note that each library -- Prism.js, Highlight.js, and Plain Flavor -- features its own code-escape settings. So the code-escape settings that are applied depends on the currently active library. Visit the plugin's General Settings to choose your library. Then visit that library's tab to configure its code-escape settings.
Note that each library &mdash; Prism.js, Highlight.js, and Plain Flavor &mdash; features its own code-escape settings. So the code-escape settings that are applied depends on the currently active library. Visit the plugin's General Settings to choose your library. Then visit that library's tab to configure its code-escape settings.

When code escaping is enabled for either/both the frontend or Admin Area, the plugin makes the following changes to any code contained within &lt;code&gt;&lt;/code&gt; tags:



Loading…
Cancel
Save