V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
alay9999
V2EX  ›  程序员

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

  •  
  •   alay9999 · 2013-06-30 20:15:22 +08:00 · 28877 次点击
    这是一个创建于 3950 天前的主题,其中的信息可能已经有所发展或是发生改变。
    一、贴图

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

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

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


    二、贴代码

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

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

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

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

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

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




    分享一下,给像我一样的新手
    第 1 条附言  ·  2013-09-06 02:06:02 +08:00
    现在贴代码要用

    https://……

    才行

    就是只需要去掉.git即可
    第 2 条附言  ·  2014-08-29 10:48:14 +08:00
    请移步至最新版: https://www.v2ex.com/t/130567
    328 条回复    2024-04-10 17:41:12 +08:00
    1  2  3  4  
    anjunecha
        101
    anjunecha  
       2014-07-29 19:00:15 +08:00
    anjunecha
        102
    anjunecha  
       2014-07-29 19:01:11 +08:00
    anjunecha
        103
    anjunecha  
       2014-07-29 19:10:44 +08:00
    anjunecha
        104
    anjunecha  
       2014-07-29 19:14:45 +08:00
    anjunecha
        105
    anjunecha  
       2014-07-29 19:17:55 +08:00
    anjunecha
        106
    anjunecha  
       2014-07-29 19:20:13 +08:00
    anjunecha
        107
    anjunecha  
       2014-07-29 19:24:41 +08:00
    GPU
        108
    GPU  
       2014-07-29 22:56:14 +08:00
    GPU
        109
    GPU  
       2014-07-29 22:57:10 +08:00
    decken
        110
    decken  
       2014-08-01 17:57:29 +08:00
    magine
        111
    magine  
       2014-08-04 11:17:41 +08:00
    magine
        112
    magine  
       2014-08-04 11:18:15 +08:00
    magine
        113
    magine  
       2014-08-04 11:19:13 +08:00
    magine
        114
    magine  
       2014-08-04 11:21:54 +08:00
    arnofeng
        115
    arnofeng  
       2014-08-06 20:52:58 +08:00
    blackjam
        116
    blackjam  
       2014-08-10 09:26:10 +08:00
    blackjam
        117
    blackjam  
       2014-08-10 09:37:08 +08:00
    cai314494687
        118
    cai314494687  
       2014-08-19 10:08:55 +08:00
    Green
        119
    Green  
       2014-08-25 22:57:47 +08:00
    Green
        120
    Green  
       2014-08-25 22:58:49 +08:00
    Green
        121
    Green  
       2014-08-25 22:59:25 +08:00
    Green
        122
    Green  
       2014-08-25 23:00:09 +08:00
    tflz514
        123
    tflz514  
       2014-08-27 17:23:16 +08:00
    tflz514
        124
    tflz514  
       2014-08-27 17:23:51 +08:00
    tflz514
        125
    tflz514  
       2014-08-27 17:24:18 +08:00
    tflz514
        126
    tflz514  
       2014-08-27 17:24:32 +08:00
    tflz514
        127
    tflz514  
       2014-08-27 17:25:46 +08:00
    tflz514
        128
    tflz514  
       2014-08-27 17:32:17 +08:00
    tflz514
        129
    tflz514  
       2014-08-27 17:32:41 +08:00
    tflz514
        130
    tflz514  
       2014-08-27 17:43:18 +08:00
    tflz514
        131
    tflz514  
       2014-08-27 17:43:27 +08:00
    tflz514
        132
    tflz514  
       2014-08-27 17:43:45 +08:00
    tflz514
        133
    tflz514  
       2014-08-27 17:48:44 +08:00
    tflz514
        134
    tflz514  
       2014-08-27 17:49:00 +08:00
    tflz514
        135
    tflz514  
       2014-08-27 17:52:12 +08:00
    tflz514
        136
    tflz514  
       2014-08-27 17:53:30 +08:00
    tflz514
        137
    tflz514  
       2014-08-27 17:55:55 +08:00
    tflz514
        138
    tflz514  
       2014-08-27 18:07:28 +08:00
    tflz514
        139
    tflz514  
       2014-08-27 18:29:54 +08:00
    tflz514
        140
    tflz514  
       2014-08-27 18:30:15 +08:00
    tflz514
        141
    tflz514  
       2014-08-27 18:30:27 +08:00
    tflz514
        142
    tflz514  
       2014-08-27 18:30:38 +08:00
    oIIo
        143
    oIIo  
       2014-08-28 13:39:19 +08:00
    oIIo
        144
    oIIo  
       2014-08-28 13:40:49 +08:00
    oIIo
        145
    oIIo  
       2014-08-28 13:41:18 +08:00
    alay9999
        146
    alay9999  
    OP
       2014-08-29 10:22:29 +08:00
    alay9999
        147
    alay9999  
    OP
       2014-08-29 10:23:06 +08:00
    alay9999
        148
    alay9999  
    OP
       2014-08-29 10:23:24 +08:00
    alay9999
        149
    alay9999  
    OP
       2014-08-29 10:24:26 +08:00
    wanderer
        150
    wanderer  
       2014-08-29 11:39:26 +08:00
    Anran
        151
    Anran  
       2014-08-29 13:42:32 +08:00
    测试贴图贴代码可以去沙盒节点: https://v2ex.com/go/sandbox
    w2angel
        152
    w2angel  
       2014-09-14 21:01:05 +08:00
    test
    guofs
        153
    guofs  
       2014-10-15 12:49:47 +08:00
    dontwanttologin
        154
    dontwanttologin  
       2014-10-21 14:53:00 +08:00
    blackjam
        155
    blackjam  
       2014-11-12 02:48:02 +08:00
    lynnworld
        156
    lynnworld  
       2015-01-12 19:18:40 +08:00
    lynnworld
        159
    lynnworld  
       2015-01-12 19:44:08 +08:00
    xiaobu
        160
    xiaobu  
       2015-01-14 11:18:41 +08:00
    test
    icszbl
        161
    icszbl  
       2015-01-30 16:43:46 +08:00

    test
    icszbl
        162
    icszbl  
       2015-01-30 16:54:32 +08:00
    Nevervoid
        164
    Nevervoid  
       2015-04-05 11:14:45 +08:00
    jookr
        167
    jookr  
       2015-04-08 14:46:54 +08:00
    yahoo21cn
        168
    yahoo21cn  
       2015-05-11 16:38:33 +08:00
    yahoo21cn
        169
    yahoo21cn  
       2015-05-11 16:39:31 +08:00
    ![enter image description here](http://www.51voa.com/images/voa.gif)
    yahoo21cn
        170
    yahoo21cn  
       2015-05-11 16:42:41 +08:00
    ![enter image description here]()
    yahoo21cn
        171
    yahoo21cn  
       2015-05-11 16:59:23 +08:00
    [enter link description here](https://stackedit.io/editor)
    yahoo21cn
        172
    yahoo21cn  
       2015-05-11 17:00:30 +08:00
    yahoo21cn
        173
    yahoo21cn  
       2015-05-11 17:02:01 +08:00
    yahoo21cn
        174
    yahoo21cn  
       2015-05-11 17:03:05 +08:00
    miao1007
        175
    miao1007  
       2015-05-11 22:34:00 +08:00
    miao1007
        176
    miao1007  
       2015-05-11 22:34:16 +08:00
    tflz514
        177
    tflz514  
       2015-05-21 17:57:49 +08:00
    tflz514
        178
    tflz514  
       2015-05-21 17:59:04 +08:00


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

    [img][/img]
    tflz514
        179
    tflz514  
       2015-05-21 17:59:35 +08:00
    cxq
        180
    cxq  
       2015-06-11 07:39:55 +08:00
    试试发图
    ?1
    uestcfei
        181
    uestcfei  
       2015-06-22 13:09:15 +08:00
    shom
        186
    shom  
       2015-10-30 10:31:21 +08:00
    wubaiqing
        189
    wubaiqing  
       2015-11-02 21:53:20 +08:00
    xiaobu
        190
    xiaobu  
       2015-11-09 09:40:31 +08:00
    arcadia
        191
    arcadia  
       2015-11-20 12:12:31 +08:00
    Pianissimo
        192
    Pianissimo  
       2015-11-25 21:40:49 +08:00
    ?1
    xmonkey
        194
    xmonkey  
       2015-12-14 13:37:52 +08:00
    看起来必须用新浪的
    alay9999
        199
    alay9999  
    OP
       2016-02-23 12:29:26 +08:00
    @xingzhi 并非支持所有图床,用新浪微博的图床比较安逸
    northisland
        200
    northisland  
       2016-02-26 18:42:44 +08:00
    1  2  3  4  
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5270 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 08:54 · PVG 16:54 · LAX 01:54 · JFK 04:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.