上一主题 下一主题
ScriptCat,新一代的脚本管理器脚本站,与全世界分享你的用户脚本油猴脚本开发指南教程目录
返回列表 发新帖 回复

markdown测试

[复制链接]
  • TA的每日心情
    开心
    2024-3-13 10:14
  • 签到天数: 211 天

    [LV.7]常住居民III

    293

    主题

    3900

    回帖

    3820

    积分

    管理员

    积分
    3820

    管理员荣誉开发者油中2周年生态建设者喜迎中秋油中3周年挑战者 lv2

    发表于 2022-7-20 09:45:06 | 显示全部楼层 | 阅读模式

    image

    Awesome Editor!

    It has been released as opensource in 2018 and has continually evolved to receive 10k GitHub ⭐️ Stars.

    Create Instance

    You can create an instance with the following code and use getHtml() and getMarkdown() of the Editor.

    const editor = new Editor(options);

    See the table below for default options

    More API information can be found in the document

    name type description
    el HTMLElement container element

    Features

    • CommonMark + GFM Specifications
      • Live Preview
      • Scroll Sync
      • Auto Indent
      • Syntax Highlight
        1. Markdown
        2. Preview

    Support Wrappers

    • Wrappers
      1. React
      2. Vue
      3. Ember
    上不慕古,下不肖俗。为疏为懒,不敢为狂。为拙为愚,不敢为恶。/ 微信公众号:一之哥哥

    发表回复

    本版积分规则

    快速回复 返回顶部 返回列表