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

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

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

    使用各种图片空间保存图片,比如: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
    327 条回复    2024-03-12 19:07:14 +08:00
    1  2  3  4  
    northisland
        201
    northisland  
       2016-02-26 18:42:58 +08:00
    northisland
        202
    northisland  
       2016-02-26 18:43:46 +08:00
    northisland
        204
    northisland  
       2016-03-16 13:00:44 +08:00
    http://120.27.127.42/wallpaper.png
    morning
        205
    morning  
       2016-04-15 23:37:37 +08:00
    ShiHou
        208
    ShiHou  
       2016-04-22 03:36:48 +08:00
    ShiHou
        209
    ShiHou  
       2016-04-22 03:49:12 +08:00
    funsunz
        210
    funsunz  
       2016-05-04 11:41:10 +08:00
    13m
        211
    13m  
       2016-05-22 07:42:28 +08:00
    test



    just for test
    13m
        212
    13m  
       2016-05-22 07:53:55 +08:00
    suchan
        214
    suchan  
       2016-06-18 18:31:34 +08:00
    iannil
        215
    iannil  
       2016-06-20 12:03:20 +08:00
    iq72
        216
    iq72  
       2016-06-22 13:56:02 +08:00

    测试一下
    ipconfiger
        217
    ipconfiger  
       2016-08-27 01:13:55 +08:00
    halden
        218
    halden  
       2016-09-15 09:17:22 +08:00
    test
    jiabin
        219
    jiabin  
       2016-09-18 15:26:50 +08:00
    test

    hhhyde
        220
    hhhyde  
       2016-09-20 15:45:04 +08:00
    hhhyde
        221
    hhhyde  
       2016-09-20 15:45:36 +08:00
    test
    hhhyde
        222
    hhhyde  
       2016-09-20 15:47:34 +08:00
    hhhyde
        223
    hhhyde  
       2016-09-20 15:49:52 +08:00
    LucasW
        224
    LucasW  
       2016-09-22 14:20:49 +08:00
    YuJianrong
        225
    YuJianrong  
       2016-09-26 11:49:44 +08:00
    YuJianrong
        226
    YuJianrong  
       2016-09-26 11:50:15 +08:00
    YuJianrong
        227
    YuJianrong  
       2016-09-26 11:50:39 +08:00
    YuJianrong
        228
    YuJianrong  
       2016-09-26 11:52:19 +08:00
    YuJianrong
        229
    YuJianrong  
       2016-09-26 11:54:35 +08:00
    syv2
        230
    syv2  
       2016-10-01 17:25:10 +08:00
    ~~~
    a = 1
    ~~~
    wensonsmith
        231
    wensonsmith  
       2016-11-08 00:26:56 +08:00
    Fatcoder
        232
    Fatcoder  
       2016-11-11 17:29:36 +08:00
    test
    AInoob
        233
    AInoob  
       2016-11-13 01:15:55 +08:00
    AInoob
        234
    AInoob  
       2016-11-13 01:16:11 +08:00
    AInoob
        235
    AInoob  
       2016-11-13 01:25:26 +08:00
    AInoob
        236
    AInoob  
       2016-11-13 01:25:54 +08:00
    liul85
        238
    liul85  
       2016-11-14 18:59:06 +08:00
    zorui
        239
    zorui  
       2016-12-28 18:32:34 +08:00
    byhuang
        240
    byhuang  
       2017-01-12 16:32:11 +08:00
    byhuang
        241
    byhuang  
       2017-01-12 16:32:43 +08:00
    test
    byhuang
        242
    byhuang  
       2017-01-12 16:33:45 +08:00
    test
    luozhaofu
        243
    luozhaofu  
       2017-01-19 17:02:25 +08:00
    luozhaofu
        244
    luozhaofu  
       2017-01-19 17:02:45 +08:00
    summic
        245
    summic  
       2017-01-22 12:55:34 +08:00
    summic
        246
    summic  
       2017-01-22 12:55:45 +08:00
    summic
        247
    summic  
       2017-01-22 12:56:10 +08:00
    withablink
        248
    withablink  
       2017-03-07 14:58:34 +08:00
    withablink
        249
    withablink  
       2017-03-07 14:58:56 +08:00
    kokutou
        250
    kokutou  
       2017-03-08 17:03:03 +08:00
    kokutou
        251
    kokutou  
       2017-03-08 17:03:36 +08:00
    mains
        252
    mains  
       2017-03-14 19:07:24 +08:00
    mains
        253
    mains  
       2017-03-14 19:08:48 +08:00
    njwangchuan
        254
    njwangchuan  
       2017-05-26 17:36:45 +08:00
    test
    ThinkCenter
        255
    ThinkCenter  
       2017-06-06 08:09:50 +08:00
    ThinkCenter
        256
    ThinkCenter  
       2017-06-06 08:10:19 +08:00
    wintersun
        257
    wintersun  
       2017-06-23 13:42:08 +08:00
    raycool
        258
    raycool  
       2017-07-03 17:45:05 +08:00
    lgxuan
        259
    lgxuan  
       2017-07-04 12:33:13 +08:00
    spbreak
        260
    spbreak  
       2017-08-22 13:48:49 +08:00
    123
    fancyhan
        261
    fancyhan  
       2017-10-30 20:12:24 +08:00
    TypeErrorNone
        262
    TypeErrorNone  
       2017-12-27 15:57:51 +08:00
    cocacold
        263
    cocacold  
       2018-01-03 10:19:55 +08:00
    [Imgur]( )
    Wolther47
        266
    Wolther47  
       2018-03-11 18:58:59 +08:00
    cnxobo
        267
    cnxobo  
       2018-03-21 11:14:02 +08:00
    ![]( )
    cnxobo
        268
    cnxobo  
       2018-03-21 11:14:35 +08:00

    反向操作就好了
    bhaltair
        269
    bhaltair  
       2018-03-26 08:28:47 +08:00
    mooo
        270
    mooo  
       2018-04-20 10:11:19 +08:00
    mooo
        271
    mooo  
       2018-04-20 10:11:40 +08:00
    mooo
        272
    mooo  
       2018-04-20 10:13:56 +08:00
    mooo
        273
    mooo  
       2018-04-20 10:14:07 +08:00
    abccba94
        275
    abccba94  
       2018-04-24 14:27:58 +08:00
    abccba94
        276
    abccba94  
       2018-04-24 14:30:13 +08:00
    1

    2
    iyg429
        277
    iyg429  
       2018-04-29 14:41:23 +08:00
    iyg429
        278
    iyg429  
       2018-04-29 14:48:32 +08:00
    #r_5593609 > table > tbody > tr > td:nth-child(3) > div.reply_content > a:nth-child(2) > img
    kidult
        279
    kidult  
       2018-05-03 14:31:37 +08:00
    rebeccaMyKid
        280
    rebeccaMyKid  
       2018-05-15 19:50:41 +08:00
    rebeccaMyKid
        281
    rebeccaMyKid  
       2018-05-15 19:51:15 +08:00
    rebeccaMyKid
        282
    rebeccaMyKid  
       2018-05-15 19:51:26 +08:00
    rebeccaMyKid
        283
    rebeccaMyKid  
       2018-05-15 19:53:21 +08:00
    shenyuan
        285
    shenyuan  
       2018-05-16 16:17:55 +08:00
    shenyuan
        286
    shenyuan  
       2018-05-16 16:21:48 +08:00
    abccba94
        287
    abccba94  
       2018-05-23 10:28:29 +08:00
    1O
        288
    1O  
       2018-05-30 18:40:32 +08:00
    Desiree
        289
    Desiree  
       2018-06-13 19:41:41 +08:00
    测试<img src="" class="embedded_image">
    Desiree
        290
    Desiree  
       2018-06-13 19:57:33 +08:00
    测试 2。<a href="https://github.com/MontageD/box" rel="nofollow noopener">https://github.com/MontageD/box </a>
    Desiree
        291
    Desiree  
       2018-06-13 19:58:02 +08:00
    ingin
        292
    ingin  
       2018-06-14 02:19:36 +08:00
    crossoverJie
        293
    crossoverJie  
       2018-06-22 20:37:46 +08:00
    测试
    crossoverJie
        294
    crossoverJie  
       2018-06-22 20:38:14 +08:00
    SsuchingYu
        295
    SsuchingYu  
       2018-08-31 13:52:57 +08:00
    测试贴图。
    debugjoker
        296
    debugjoker  
       2018-09-07 16:58:42 +08:00
    hexor
        298
    hexor  
       2018-11-22 10:23:57 +08:00
    hexor
        299
    hexor  
       2018-11-22 10:24:53 +08:00
    diangdiang
        300
    diangdiang  
       2019-02-16 18:04:30 +08:00
    1  2  3  4  
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2923 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 11:10 · PVG 19:10 · LAX 04:10 · JFK 07:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.