Skip to content
Prismjs plugin for Typecho
CSS PHP JavaScript
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead of WiseClock:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
themes
Plugin.php
README.md
line-number-wrap-fix.js
prism.js
wrap-fix.css

README.md

注意

插件文件夹名称必须是Prismjs,否则不能生效。

用法

使用方法很簡單,只要在```或者`之後輸入相應的語言即可,例如:

```c#
Console.Write("Hello World!");
```

或者行內代碼:

`js console.log("Hi!");`

效果

block.png inline.png

後台參數

後台可以修改的參數如下:

settings.png

You can’t perform that action at this time.