推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
misaka19000
V2EX  ›  Python

Python Markdown 代码区域解析出问题了,求大佬解答~~

  •  
  •   misaka19000 ·
    RitterHou · Jun 6, 2017 · 2775 views
    This topic created in 3403 days ago, the information mentioned may be changed or developed.

    解析的库用的是 misaka,但是我的代码区域的解析却存在问题,没有能够正确的解析,情况如下图

    可以看到,那里的代码区域没能正确解析,感觉好像是因为换行的原因,不过如果连换行都不支持这个库也太弱了吧,求大佬解答(๑•ᴗ•๑)

    5 replies  •  2017-06-06 12:39:47 +08:00
    misaka19000
        1
    misaka19000  
    OP
       Jun 6, 2017
    快来人啦!
    AnyISalIn
        2
    AnyISalIn  
       Jun 6, 2017
    我用的 mistune
    jgagi
        3
    jgagi  
       Jun 6, 2017
    写代码的时候要和上面隔开一行
    misaka19000
        4
    misaka19000  
    OP
       Jun 6, 2017 via Android
    @oommmme 要和 welcome 隔一行吗?
    jgagi
        5
    jgagi  
       Jun 6, 2017
    @misaka19000 对的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2523 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 11:04 · PVG 19:04 · LAX 04:04 · JFK 07:04
    ♥ Do have faith in what you're doing.