Another stupid markdown previewer based on Node.js

栏目: IT技术 · 发布时间: 5年前

内容简介:please confirm you have

svrx-plugin-markdown

svrx plugin for markdown, help us editing markdown like a ninja .

Usage

please confirm you have installed svrx already

npm i @svrx/cli -g

Feature

  • Don't rely on special editors.
  • Hot reload when file changes (not full render)
  • Auto jump to the file you are editing
  • Auto scroll to the area you are editing
  • Two builtin theme light and dark , follow github markdown syntax highlighter

Another stupid markdown previewer based on Node.js

Via CLI

svrx --markdown

or

svrx -p markdown?theme=light

Via API

const svrx = require('@svrx/svrx');

svrx({ plugins: [ 'markdown' ] }).start();

Options

  • theme: string , default is dark , you can also use light to switch light mode.
  • auto: boolean , auto jump to the markdown you are editing. default is true

License

MIT


以上所述就是小编给大家介绍的《Another stupid markdown previewer based on Node.js》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

宇宙涟漪中的孩子

宇宙涟漪中的孩子

谢云宁 / 四川科学技术出版社 / 2017-11 / 28.00元

近未来。日冕科技公司通过建造围绕太阳的光幕搜集了近乎无穷的能源,这些能源主要用于地球上的网络空间建设。随着全球网络时间频率的不断提升,越来越多的人选择接驳进虚拟空间,体验现实中难以经历的丰富人生。 网络互动小说作者宁天穹一直自认为是这些人中普通的一员,有一天却被一名读者带进反抗组织,了解到日冕公司的各种秘密,并被告知自己的小说将在抵抗运动中起到重要作用。 起初他拒绝参与,但看到地球被笼......一起来看看 《宇宙涟漪中的孩子》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

在线进制转换器
在线进制转换器

各进制数互转换器

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码