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://codercto.com/soft/d/16432.html

Hello World

Hello World

Hannah Fry / W. W. Norton Company / 2018-9 / GBP 17.99

A look inside the algorithms that are shaping our lives and the dilemmas they bring with them. If you were accused of a crime, who would you rather decide your sentence—a mathematically consistent ......一起来看看 《Hello World》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具