爱意满满的作品展示区。
sox

自动转义文本中的网址、图片、邮箱、换行、视频、音乐,类似 V2EX 默认的标记语法

  •  1
     
  •   sox ·
    egoist · Dec 1, 2015 · 2927 views
    This topic created in 3993 days ago, the information mentioned may be changed or developed.

    效果看 http://autolink.surge.sh 就对了。

    推荐使用 NPM 安装:

    npm install --save autolink.js
    

    GitHub - 基于「使用前先 star 味道更佳」(SBUPL) 协议开源

    9 replies  •  2015-12-02 13:18:40 +08:00
    Seita
    Seita
    Dec 1, 2015
    1
    这个挺有用的!很吼啊!
    gilgamesh
    gilgamesh
    Dec 1, 2015
    2
    准备用在论坛的帖子格式渲染里!
    ewex
    ewex
    Dec 1, 2015
    3
    已 star
    jsthon
    jsthon
    Dec 1, 2015 via Android
    4
    楼主你的社区呢
    sox
    sox
    OP
    Dec 1, 2015 via Android
    5
    @ewex (。・ω・。)ノ♡
    nareix
    nareix
    Dec 1, 2015
    6
    很实用!赞!
    iLtc
    iLtc
    Dec 2, 2015
    7
    我之前用过 embed ,不过需要自行识别网址
    你这个更实用一些~
    Comdex
    Comdex
    Dec 2, 2015
    8
    音乐转义的效果是怎样的?
    sox
    sox
    OP
    Dec 2, 2015
    9
    @Comdex 暂时只有网易云音乐的播放器 😂
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4783 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 08:18 · PVG 16:18 · LAX 00:18 · JFK 03:18
    ♥ Do have faith in what you're doing.