pygments

Posted by 夏泽民

安装 brew install pygments 生成css pygmentize -f html -a .highlight -S default > pygments.css -a .highlight指所有css选择器都具有.highlight这一祖先选择器 -S default就是指定所需要的样式了,各位可以对各种样式都尝试一下。在官网上是可以直接尝试的哦! > pygments.css将内容输出到pygments.css文件中 引入css

<link href="/MyBlog/css/pygments.css" rel="stylesheet">

添加jekyll插件: vi _config.yml highlighter: pygments



markdown

Posted by 夏泽民

自定义markdown头自动化脚本



mac-sed

Posted by 夏泽民

mac sed 和linux sed 不一致



jekyll config

Posted by 夏泽民
1
2
3
export GEM_HOME="/Users/didi/.rvm/gems/ruby-2.4.0"
export PATH="/Users/didi/blog/jekyll:$PATH"
export PATH="/Users/didi/.rvm/gems/ruby-2.4.0/bin:/Users/didi/.rvm/gems/ruby-2.4.0@global/bin:/Users/didi/.rvm/rubies/ruby-2.4.0/bin:/Users/didi/.rvm/bin:$PATH"


comment

Posted by 夏泽民

在Jekyll博客添加评论系统:gitment篇



Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at 465474307@qq.com

Subscribe to our mailing list

* indicates required