huacnlee

Github gist 代码插入支持

  •  
  •   huacnlee · Aug 2, 2010 · 41244 views
    This topic created in 5942 days ago, the information mentioned may be changed or developed.
    做为一个 Geek 社区,没贴代码的功能怎么可以呢!
    现在加入Github gist的脚本的支持,使用方法,直接插入 Gist 的嵌入脚本,如:
    <script src=".js"> </script>

    就可以了,样式有些不太好,由于 Gist 是后面加入 CSS 的,暂时在 style.css 里面重写,也不能写在后面,有页面性能问题.
    没有加入手机版支持,在想这个是否有必要.

    http://github.com/huacnlee/v2ex
    124 replies  •  2020-08-26 22:59:44 +08:00
    1  2  
    ❮ ❯
    ChanneW
    ChanneW
    Sep 24, 2014
    102
    endintro
    endintro
    Sep 28, 2014
    103
    xiaohanyu
    xiaohanyu
    Oct 15, 2014
    107
    veapon
    veapon
    Oct 27, 2014
    108
    <script src="https://gist.github.com/veapon/5830222.js"></script>

    test
    urmyfaith
    urmyfaith
    Oct 29, 2014
    109
    直接复制gist链接就可以了:

    https://gist.github.com/urmyfaith/f81c98fb1700f8237e28
    xiaolvmu
    xiaolvmu
    Dec 22, 2014 via Android
    111
    真酷!
    Wongzigii
    Wongzigii
    Jan 4, 2016
    115
    <script src='http://pastie.org/10669021.js'>
    </script>
    fhefh
    fhefh
    Apr 12, 2018
    123
    1  2  
    ❮ ❯
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3658 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 77ms · UTC 10:05 · PVG 18:05 · LAX 02:05 · JFK 05:05
    ♥ Do have faith in what you're doing.