SanCi

Typecho代码高亮插件:Prismjs
代码测试段落高亮语言:C#int startDate = 1; int startHour = 10; int s...
扫描右侧二维码阅读全文
10
2017/12

Typecho代码高亮插件:Prismjs

代码测试段落
高亮语言:C#

int startDate = 1;
int startHour = 10;
int startMin = 30;
DateTime now = DateTime.Now;
if (now.Day != startDate)
    return;
while (now.Hour < startHour)
{
    Console.WriteLine("长文本自动换行TB.LC TB.LC tb.lc tb.lc https://san.ci test test test test test test test test test test test test test test test test test test test test test test test test");
    Console.WriteLine("HOUR NOT YET");
    Thread.Sleep(1000 * 60 * 5);
    now = DateTime.Now;
}

使用方法很简单,只要在``` 或者`之后输入相应的语言即可。
原作者:Wiseclock
下载地址(Typecho 1.1 可用):Prismjs.1.0.7.zip

经评论区大神提醒,已去掉版本限制,新版Typecho1.1可用。
如果typecho1.1提示无法使用,请删掉插件里的* @dependence 14.10.10限制版本这一行。
Prismjs.1.0.7.zip


随机一言(显示内容与本文关)
Last modification:April 26th, 2018 at 04:47 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment