V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Jekyll
http://jekyllrb.com/
Jekyll on GitHub
https://github.com/mojombo/jekyll
Jekyll-bootstrap
http://jekyllbootstrap.com/
Octopress
http://octopress.org/
onesuper
V2EX  ›  Jekyll

Markdown列表显示问题

  •  
  •   onesuper · 2012-03-24 12:26:51 +08:00 · 3927 次点击
    这是一个创建于 4409 天前的主题,其中的信息可能已经有所发展或是发生改变。
    * abc
    * efg

    输出正常

    * abc啦啦啦
    * efg啦啦啦

    也没有问题

    但下面这种就不行,一旦以中文开头就识别不了:

    * 你好
    * 美女

    有序列表也是如此。请问大家有什么解决方法?
    5 条回复    1970-01-01 08:00:00 +08:00
    icyflash
        1
    icyflash  
       2012-03-24 12:32:23 +08:00
    应该是解释器的问题,扒下源码看看是不是正则限制了
    onesuper
        2
    onesuper  
    OP
       2012-03-24 12:58:51 +08:00
    @icyflash 是要去看maruku的源码么?
    Livid
        3
    Livid  
    MOD
       2012-03-24 12:59:39 +08:00
    Markdown 解释器换成 rdiscount 就好了。
    Livid
        4
    Livid  
    MOD
       2012-03-24 13:00:08 +08:00
    _config.yml 里写入:

    markdown: rdiscount
    onesuper
        5
    onesuper  
    OP
       2012-03-24 13:32:22 +08:00
    @Livid it works,3q :)
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2886 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 13:45 · PVG 21:45 · LAX 06:45 · JFK 09:45
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.