Simditor​的Markdown格式化扩展 simditor-marked

码农软件 · 软件分类 · Markdown开发包 · 2019-10-10 08:58:28

软件介绍

Simditor扩展,将编辑器内markdown的内容格式化

如何使用

常规加载

在Simditor的基础上额外引用marked.js 和 simditor-marked 的脚本

<script src="js/marked.js"></script>
<script src="js/simditor-marked.js"></script>

配置

new Simditor({
    textarea: textareaElement,
    ...,
    toolbar: [..., 'marked']
})

点击marked 按钮(类似m的图标)后(或用快捷键Ctrl+m),将格式化编辑器里面markdown的内容。 如果选中了一部分编辑器的内容,那么只会格式选中的内容,否则格式全部内容。

本文地址:https://www.codercto.com/soft/d/16432.html

The Linux Command Line

The Linux Command Line

William E. Shotts Jr. / No Starch Press, Incorporated / 2012-1-17 / USD 39.95

You've experienced the shiny, point-and-click surface of your Linux computer-now dive below and explore its depths with the power of the command line. The Linux Command Line takes you from your very ......一起来看看 《The Linux Command Line》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

URL 编码/解码
URL 编码/解码

URL 编码/解码

SHA 加密
SHA 加密

SHA 加密工具