Another stupid markdown previewer based on Node.js

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

内容简介: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》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

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

Python 3学习笔记(上卷)

Python 3学习笔记(上卷)

雨痕 / 电子工业出版社 / 2018-1 / 89

经过9 年的发展,Python 3 生态已相当成熟。无论是语言进化、解释器性能提升,还是第三方支持,都是如此。随着Python 2.7 EOF 日趋临近,迁移到Python 3 的各种障碍也被逐一剔除。是时候在新环境下学习或工作了。 人们常说Python 简单易学,但这是以封装和隐藏复杂体系为代价的。仅阅读语言规范很难深入,亦无从发挥其应有能力,易学难精才是常态。《Python 3学习笔记(......一起来看看 《Python 3学习笔记(上卷)》 这本书的介绍吧!

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

HTML 编码/解码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换