huacnlee

Github gist 代码插入支持

  •  
  •   huacnlee · Aug 2, 2010 · 36780 views
    This topic created in 5798 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
        102
    ChanneW  
       Sep 24, 2014
    endintro
        103
    endintro  
       Sep 28, 2014
    xiaohanyu
        107
    xiaohanyu  
       Oct 15, 2014
    veapon
        108
    veapon  
       Oct 27, 2014
    <script src="https://gist.github.com/veapon/5830222.js"></script>

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

    https://gist.github.com/urmyfaith/f81c98fb1700f8237e28
    kofj
        110
    kofj  
       Nov 10, 2014
    xiaolvmu
        111
    xiaolvmu  
       Dec 22, 2014 via Android
    真酷!
    janxin
        112
    janxin  
       Apr 6, 2015
    Wongzigii
        115
    Wongzigii  
       Jan 4, 2016
    <script src='http://pastie.org/10669021.js'>
    </script>
    Chrics
        119
    Chrics  
       Jul 18, 2017
    fhefh
        121
    fhefh  
       Aug 23, 2017
    fhefh
        123
    fhefh  
       Apr 12, 2018
    rockyou12
        124
    rockyou12  
       Aug 26, 2020
    1  2  
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5040 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 162ms · UTC 03:50 · PVG 11:50 · LAX 20:50 · JFK 23:50
    ♥ Do have faith in what you're doing.