Files
plugins/Prism/README.md
chorblack e75f275ef4
Some checks failed
定时更新GitHub源插件 / 自动更新GitHub插件 (push) Has been cancelled
Initial commit
2026-03-07 11:19:25 +08:00

28 lines
718 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### 轻量级代码高亮插件Prism v1.0.2
可在Markdown模式下用3个反引号+**语言名**格式高亮代码段落,支持八种样式。例如:
<pre>
```php
echo "Hello World!";
```
</pre>
非Markdown模式下可在code标签内添加class="lang-语言名",如:
```
<pre>
<code class="lang-php">
echo "Hello World!";
</code>
</pre>
```
- v1.0.2(18-7-23)[@羽中](https://github.com/jzwalk)
使用1.15.0版核心,更新文档说明。
- v1.0.1(17-1-24)
使用1.6.0版核心,修正样式前景色问题。
默认支持语言名markup(html/xml类)、css、javascript、php和其他clike(C语言类)
###### 更多语言高亮详见http://prismjs.com/download.html