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

查看所有标签

猜你喜欢:

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

Algorithms + Data Structures = Programs

Algorithms + Data Structures = Programs

Niklaus Wirth / Prentice Hall / 1975-11-11 / GBP 84.95

It might seem completely dated with all its examples written in the now outmoded Pascal programming language (well, unless you are one of those Delphi zealot trying to resist to the Java/.NET dominanc......一起来看看 《Algorithms + Data Structures = Programs》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

SHA 加密
SHA 加密

SHA 加密工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器