V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
dony945

晕,编辑器也不安个?

  •  
  •   dony945 · Oct 11, 2010 · 7304 views
    This topic created in 5681 days ago, the information mentioned may be changed or developed.
    晕,编辑器也不安个?
    68 replies    1970-01-01 08:00:00 +08:00
    xinzhi
        1
    xinzhi  
       Oct 11, 2010
    发个帖子标题=内容,这么简单还要个编辑器干神马。
    leaf
        2
    leaf  
       Oct 11, 2010
    被DZ之类的论坛侵害不深啊~
    dony945
        3
    dony945  
    OP
       Oct 11, 2010
    共享代码之类呢。不好区分,支持img等代码不
    lainuo
        4
    lainuo  
       Oct 11, 2010
    共享代码, 贴个pastie? img....这个是DZ特产么...
    rse43
        5
    rse43  
       Oct 11, 2010
    @dony945 共享代码请用gist,贴图请用img.ly
    nffish
        6
    nffish  
       Oct 11, 2010
    还不是很清楚git 怎么用
    Livid
        7
    Livid  
    MOD
    PRO
       Oct 11, 2010
    Gist 的 URL 可以直接用来分享代码。

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

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

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

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

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

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

    就知道咯。

    支持 img.ly cl.ly youtube youku gist

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

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

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

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

    http://gist.github.com/

    http://my.cl.ly

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

    这里 http://www.ge6.net
    lianghai
        68
    lianghai  
       Nov 20, 2010
    @woaixi 我去……这样的品味还好意思自称“格调”……惟一有点格调的也就是模仿 Project Babel 2 做的那层皮了……我的狗眼啊……
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2531 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 101ms · UTC 09:02 · PVG 17:02 · LAX 02:02 · JFK 05:02
    ♥ Do have faith in what you're doing.