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

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

@@ -129,8 +129,15 @@ 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>...</code></pre>`
* Wrap single-line code with code tags: `<code>...</code>` (Prism.js only)
__Wrap multi-line code with pre & code tags:__

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

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

<code>put your code here</code>

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