瀏覽代碼

update

git-svn-id: https://plugins.svn.wordpress.org/prismatic/trunk@1521287 b8457f37-d9ea-0310-8a92-e5e31aec5664
master
Jeff Starr 7 年之前
父節點
當前提交
97f9e10168
共有 1 個文件被更改,包括 2 次插入7 次删除
  1. +2
    -7
      readme.txt

+ 2
- 7
readme.txt 查看文件

@@ -129,13 +129,8 @@ The Prismatic plugin follows the same conventions used by [Prism.js](http://pris

Once the settings are configured, you can enable syntax highlighting for any code snippet by doing one of the following:

__Wrap multi-line code with pre & code tags:__

<pre><code><pre><code>put your code here</code></pre></code></pre>

__Wrap single-line code with code tags:__ (Prism.js only)

<code>put your code here</code>
* Wrap multi-line code with pre &amp; code tags: &lt;pre&gt;&lt;code&gt;...&lt;/code&gt;&lt;/pre&gt;
* Wrap single-line code with code tags: &lt;code&gt;...&lt;/code&gt; (Prism.js only)

With the proper markup in place, you can indicate a specific language by adding a class of `language-***` or `lang-***` to the `<code>` tag (where `***` is the language identifier).



Loading…
取消
儲存