• 请不要在回答技术问题时复制粘贴 AI 生成的内容
alay9999
V2EX  ›  程序员

[V2EX技巧] 贴图和贴代码的方法(写给像我一样的小白)

  •  
  •   alay9999 · Jun 30, 2013 · 36093 views
    This topic created in 4878 days ago, the information mentioned may be changed or developed.
    一、贴图

    使用各种图片空间保存图片,比如:http://www.v2ex.com/t/44453?p=2

    然后复制图片地址,注意地址后缀是图片后缀(比如.jpg)才行

    发帖时直接放图片网址即可,不用任何其他代码


    二、贴代码

    这个我刚才试验了半天才搞明白

    在这里保存代码 https://gist.github.com/ 这个大家一看就会用

    生成链接后复制左上第一个链接

    格式是这个样子的 https://gist.github.com/5894938.git

    这时候要把 https 修改为 http,并去掉最后的 .git

    然后在发帖时直接粘贴修改后的链接即可。




    分享一下,给像我一样的新手
    Supplement 1  ·  Sep 6, 2013
    现在贴代码要用

    https://……

    才行

    就是只需要去掉.git即可
    Supplement 2  ·  Aug 29, 2014
    请移步至最新版: https://www.v2ex.com/t/130567
    329 replies  •  2026-10-22 14:45:17 +08:00
    1  2  3  4  
    ❮ ❯
    GPU
    GPU
    Jul 29, 2014
    108
    magine
    magine
    Aug 4, 2014
    111
    Green
    Green
    Aug 25, 2014
    122
    tflz514
    tflz514
    Aug 27, 2014
    138
    tflz514
    tflz514
    Aug 27, 2014
    139
    oIIo
    oIIo
    Aug 28, 2014
    143
    Anran
    Anran
    Aug 29, 2014
    151
    测试贴图贴代码可以去沙盒节点: https://v2ex.com/go/sandbox
    w2angel
    w2angel
    Sep 14, 2014
    152
    test
    dontwanttologin
    dontwanttologin
    Oct 21, 2014
    154
    blackjam
    blackjam
    Nov 12, 2014
    155
    lynnworld
    lynnworld
    Jan 12, 2015
    159
    xiaobu
    xiaobu
    Jan 14, 2015
    160
    test
    icszbl
    icszbl
    Jan 30, 2015
    161

    test
    icszbl
    icszbl
    Jan 30, 2015
    162
    jookr
    jookr
    Apr 8, 2015
    167
    yahoo21cn
    yahoo21cn
    May 11, 2015
    169
    ![enter image description here](http://www.51voa.com/images/voa.gif)
    yahoo21cn
    yahoo21cn
    May 11, 2015
    170
    ![enter image description here]()
    yahoo21cn
    yahoo21cn
    May 11, 2015
    171
    [enter link description here](https://stackedit.io/editor)
    yahoo21cn
    yahoo21cn
    May 11, 2015
    173
    tflz514
    tflz514
    May 21, 2015
    178


    [url=http://imgur.com/njxSO6C][img][/img][/url]

    [img][/img]
    tflz514
    tflz514
    May 21, 2015
    179
    cxq
    cxq
    Jun 11, 2015
    180
    试试发图
    ?1
    uestcfei
    uestcfei
    Jun 22, 2015
    181
    shom
    shom
    Oct 30, 2015
    186
    xiaobu
    xiaobu
    Nov 9, 2015
    190
    arcadia
    arcadia
    Nov 20, 2015
    191
    Pianissimo
    Pianissimo
    Nov 25, 2015
    192
    ?1
    xmonkey
    xmonkey
    Dec 14, 2015
    194
    看起来必须用新浪的
    alay9999
    alay9999
    OP
    Feb 23, 2016
    199
    @xingzhi 并非支持所有图床,用新浪微博的图床比较安逸
    1  2  3  4  
    ❮ ❯
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   696 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 140ms · UTC 20:01 · PVG 04:01 · LAX 12:01 · JFK 15:01
    ♥ Do have faith in what you're doing.