Browse Source

update

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

+ 2
- 2
readme.txt View File

@@ -170,7 +170,7 @@ Just like Prism.js and Highlight.js, the Prismatic plugin follows HTML coding st
* Wrap multi-line code with pre & code tags: <pre><code>...</code></pre>
* Wrap single-line code with code tags: <code>...</code>

For example, the code snippets included in either of the following markup examples would be escaped:
For example, the code snippets included in either of the following markup examples would be escaped (note that the class attribute is not required for code escaping).

This is a single-line example:

@@ -276,7 +276,7 @@ So for example, to specify a code block as C++, you would write:
Multi-line: <pre><code class="language-cpp">...</code></pre>

To disable Prism.js syntax highlighting for any code block, simply omit the language class.
To disable Prism.js syntax highlighting for any snippet, simply omit the language class.


_I'm glad to add more languages, [make a suggestion](https://perishablepress.com/contact/)_


Loading…
Cancel
Save