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

20 lines
543 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.
### GoogleCodePrettify代码高亮插件 v2.0.0
为Markdown模式下的代码标记段落(3反引号包围或4空格开头)自动渲染高亮效果,支持多种样式自定义。例如:
<pre>
```
echo "Hello World!";
```
</pre>
非Markdown模式下请使用pre+code双标签包围代码
```
<pre>
<code>
echo "Hello World!";
</code>
</pre>
```
> 修正默认样式生效bug和部分样式行号显示问题。
###### 更多详见作者博客http://imnerd.org/google-code-prettify-plugin-for-typecho-0-9.html