Jeff Starr пре 7 година
родитељ
комит
837319bf87
1 измењених фајлова са 3 додато и 3 уклоњено
  1. +3
    -3
      readme.txt

+ 3
- 3
readme.txt Прегледај датотеку

@@ -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…
Откажи
Сачувај