V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Daring Fireball: Markdown
CommonMark
MacDown Open Source Markdown Editor
Marked
GitHub Flavored Markdown
Neear
V2EX  ›  Markdown

求助: 请问github此程序的readme.md文件里这行代码是如何实现的。

  •  
  •   Neear · 2012-06-22 17:07:27 +08:00 · 7639 次点击
    这是一个创建于 4319 天前的主题,其中的信息可能已经有所发展或是发生改变。
    地址 https://github.com/OscarGodson/EpicEditor
    试着从github上找些md文档学着来,然后发现这行代码

    ```javascript
    var editor = new EpicEditor().load();
    ```

    显示为
    var editor = new EpicEditor().load();

    请问是通过什么扩展实现的。
    6 条回复    1970-01-01 08:00:00 +08:00
    icyflash
        1
    icyflash  
       2012-06-22 17:09:23 +08:00
    yesmeck
        2
    yesmeck  
       2012-06-22 17:10:21 +08:00
    你是想说这个吗?
    https://github.com/github/markup
    jiyinyiyong
        3
    jiyinyiyong  
       2012-06-22 17:30:15 +08:00
    gh-pages 都有源码 https://github.com/github/github-flavored-markdown/
    不过我也挺奇怪的这个使用什么工具实现的, repo 里的 Ruby 基本不懂,,
    Neear
        4
    Neear  
    OP
       2012-06-22 17:30:29 +08:00
    用python可以实现么
    fanzheng
        5
    fanzheng  
       2012-06-22 18:06:28 +08:00
    @Neear python也有Markdown的库呀,python-markdown或者markdown2
    iwinux
        6
    iwinux  
       2012-06-22 18:09:29 +08:00
    @jiyinyiyong gem github-flavored-markdown
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2839 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 02:32 · PVG 10:32 · LAX 19:32 · JFK 22:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.