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

晕,编辑器也不安个?

  •  
  •   dony945 · 2010 年 10 月 11 日 · 7120 次点击
    这是一个创建于 5570 天前的主题,其中的信息可能已经有所发展或是发生改变。
    晕,编辑器也不安个?
    68 条回复    1970-01-01 08:00:00 +08:00
    xinzhi
        1
    xinzhi  
       2010 年 10 月 11 日
    发个帖子标题=内容,这么简单还要个编辑器干神马。
    leaf
        2
    leaf  
       2010 年 10 月 11 日
    被DZ之类的论坛侵害不深啊~
    dony945
        3
    dony945  
    OP
       2010 年 10 月 11 日
    共享代码之类呢。不好区分,支持img等代码不
    lainuo
        4
    lainuo  
       2010 年 10 月 11 日
    共享代码, 贴个pastie? img....这个是DZ特产么...
    rse43
        5
    rse43  
       2010 年 10 月 11 日
    @dony945 共享代码请用gist,贴图请用img.ly
    nffish
        6
    nffish  
       2010 年 10 月 11 日
    还不是很清楚git 怎么用
    Livid
        7
    Livid  
    MOD
    PRO
       2010 年 10 月 11 日
    Gist 的 URL 可以直接用来分享代码。

    Cl.ly 的 URL 可以直接用来分享图片。
    spark
        8
    spark  
       2010 年 10 月 11 日
    @rse43 墙了呢?
    lin
        9
    lin  
       2010 年 10 月 11 日
    @nffish

    Gist: http://gist.github.com/
    直接在里面贴代码,然后把生成的那个页面的地址贴这边就可以了。

    Cl.ly: http://my.cl.ly
    上传图片,把图片所在页面的地址贴这边来就可以了。
    dimlau
        10
    dimlau  
       2010 年 10 月 11 日
    为什么是在“发现分享”节点下?
    Livid
        11
    Livid  
    MOD
    PRO
       2010 年 10 月 11 日
    @dimlau 实在抱歉,移动帖子的功能我还没有做好。
    upsky
        12
    upsky  
       2010 年 10 月 11 日
    git://gist.github.com/620348.git gist-620348

    果然是一个for geek的论坛系统啊。
    upsky
        13
    upsky  
       2010 年 10 月 11 日
    cabbala
        14
    cabbala  
       2010 年 10 月 11 日
    darcy
        15
    darcy  
       2010 年 10 月 11 日
    gist: 620398
    cabbala
        16
    cabbala  
       2010 年 10 月 11 日
    ine181x
        17
    ine181x  
       2010 年 10 月 11 日
    试一下。。。。

    <script src="http://gist.github.com/620471.js?file=gistfile1.js"></script>
    ine181x
        18
    ine181x  
       2010 年 10 月 11 日
    到底是怎么嵌入代码的呢?
    http://gist.github.com/620471
    Sunyanzi
        19
    Sunyanzi  
       2010 年 10 月 11 日
    fanzeyi
        20
    fanzeyi  
       2010 年 10 月 11 日
    fanzeyi
        21
    fanzeyi  
       2010 年 10 月 11 日
    这是为什么!!!我都不显示
    fanzeyi
        22
    fanzeyi  
       2010 年 10 月 11 日
    seemid
        23
    seemid  
       2010 年 10 月 12 日
    chone
        24
    chone  
       2010 年 10 月 12 日
    有些时候最简单的就是最好的
    Feuda
        25
    Feuda  
       2010 年 10 月 12 日
    Feuda
        26
    Feuda  
       2010 年 10 月 12 日
    貌似不可以贴视频
    evenkevin
        27
    evenkevin  
       2010 年 10 月 12 日
    我也来试试
    http://cl.ly/2npF
    j
        28
    j  
       2010 年 10 月 12 日
    这个帖子被编辑得不能更论坛了。。头大
    TheOnly92
        29
    TheOnly92  
       2010 年 10 月 12 日
    或许该有个 sandbox area 给大家玩一玩
    nffish
        30
    nffish  
       2010 年 10 月 12 日
    测试一下
    git://gist.github.com/621812.git
    nffish
        31
    nffish  
       2010 年 10 月 12 日
    为什么还是不行呢?
    http://gist.github.com/621812
    no2x
        32
    no2x  
       2010 年 10 月 12 日
    donwa
        33
    donwa  
       2010 年 10 月 12 日
    [email protected]:6097be27193e4a7d5a4d.git
    donwa
        35
    donwa  
       2010 年 10 月 12 日
    donwa
        36
    donwa  
       2010 年 10 月 12 日
    Sunyanzi
        37
    Sunyanzi  
       2010 年 10 月 12 日
    ato
        38
    ato  
       2010 年 10 月 12 日 via iPod
    贴代码都没成功?
    Bob
        39
    Bob  
       2010 年 10 月 12 日
    [email protected]:383f0491a4016636fd2d.git
    我也贴一个
    Bob
        40
    Bob  
       2010 年 10 月 12 日
    Bob
        41
    Bob  
       2010 年 10 月 12 日
    [email protected]:383f0491a4016636fd2d.git
    Bob
        42
    Bob  
       2010 年 10 月 12 日
    [email protected]:383f0491a4016636fd2d.git gist-383f0491
    Feuda
        43
    Feuda  
       2010 年 10 月 12 日
    Bob
        44
    Bob  
       2010 年 10 月 12 日
    Bob
        45
    Bob  
       2010 年 10 月 12 日
    为什么 我不可以啊 @feuda
    Bob
        46
    Bob  
       2010 年 10 月 12 日
    git clone git://gist.github.com/622072.git gist-622072
    Feuda
        47
    Feuda  
       2010 年 10 月 12 日
    @Bob 直接在地址栏剪切,然后这里粘贴,地址是以http开头的
    Bob
        48
    Bob  
       2010 年 10 月 12 日
    Feuda
        49
    Feuda  
       2010 年 10 月 12 日
    @Bob 不需要改任何东西
    Bob
        50
    Bob  
       2010 年 10 月 12 日
    @feuda 原来这样子的 谢谢,你ID很艺术,
    Feuda
        51
    Feuda  
       2010 年 10 月 12 日
    @Bob 你的也是,呵呵
    Emory_M
        52
    Emory_M  
       2010 年 10 月 13 日
    sunwenjun
        53
    sunwenjun  
       2010 年 10 月 13 日
    zcjl
        54
    zcjl  
       2010 年 10 月 13 日
    lepture
        55
    lepture  
       2010 年 10 月 13 日
    大家好无聊呀

    看 source code 里的 v2ex/templatetags/filters.py

    就知道咯。

    支持 img.ly cl.ly youtube youku gist

    Sam
        56
    Sam  
       2010 年 10 月 13 日
    我嚼得实在有必要支持bbcode
    lepture
        57
    lepture  
       2010 年 10 月 13 日
    为什么 filter 里的 youku 写得这么复杂呢? 我觉得一个 sub 就可以了呀。

    这个是我在 vealous: http://i.shiao.org/a/vealous 里用的 filter

    http://gist.github.com/623745
    lepture
        58
    lepture  
       2010 年 10 月 13 日
    <embed></embed> 不是标准HTML5写法,而且。

    是用<embed />吧
    Feuda
        59
    Feuda  
       2010 年 10 月 13 日
    @lepture 麻烦你告诉我怎么贴优酷视频?麻烦你啦....:-D
    n2n3
        60
    n2n3  
       2010 年 10 月 13 日
    n2n3
        61
    n2n3  
       2010 年 10 月 13 日
    @Feuda @Bob 直接在地址栏剪切,然后这里粘贴,地址是以http开头的
    Feuda
        62
    Feuda  
       2010 年 10 月 13 日
    前提是要注册注册这两个,第一个不注册也行

    http://gist.github.com/

    http://my.cl.ly

    关键是那里云的视频在这里贴不了
    Feuda
        63
    Feuda  
       2010 年 10 月 13 日
    再次试youku
    Feuda
        64
    Feuda  
       2010 年 10 月 13 日
    真的可以直接贴youku地址,但我之前在我搭建的社区里不可以呢...
    Bighead
        65
    Bighead  
       2010 年 10 月 20 日
    deepice
        66
    deepice  
       2010 年 11 月 20 日
    图片怎么贴不出来了?
    http://cl.ly/3K9C
    woaixi
        67
    woaixi  
       2010 年 11 月 20 日
    刚发现一个和这里很像的论坛!! 晕倒!!

    这里 http://www.ge6.net
    lianghai
        68
    lianghai  
       2010 年 11 月 20 日
    @woaixi 我去……这样的品味还好意思自称“格调”……惟一有点格调的也就是模仿 Project Babel 2 做的那层皮了……我的狗眼啊……
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2641 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 06:22 · PVG 14:22 · LAX 22:22 · JFK 01:22
    ♥ Do have faith in what you're doing.