V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Jekyll
http://jekyllrb.com/
Jekyll on GitHub
https://github.com/mojombo/jekyll
Jekyll-bootstrap
http://jekyllbootstrap.com/
Octopress
http://octopress.org/
Danny
V2EX  ›  Jekyll

Pygments 如何高亮 Liquid 语言?

  •  
  •   Danny · Jul 26, 2013 · 4712 views
    This topic created in 4664 days ago, the information mentioned may be changed or developed.
    自己高亮自己。好像没有 {% highlight liquid %} 吧?
    可以用 {% raw %},但是感觉不整洁。而且代码里不能有 {% raw %} 本身。。。
    1 replies    1970-01-01 08:00:00 +08:00
    timonwong
        1
    timonwong  
       Jul 26, 2013
    看起来Liquid语法跟django和jinja相似,不想定制的话直接用django/jinja的语法高亮就可以了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   972 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 18:10 · PVG 02:10 · LAX 11:10 · JFK 14:10
    ♥ Do have faith in what you're doing.