17
Another stupid markdown previewer based on Node.js
source link: https://github.com/svrxjs/svrx-plugin-markdown
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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
anddark
, follow github markdown syntax highlighter
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 isdark
, you can also uselight
to switch light mode. - auto:
boolean
, auto jump to the markdown you are editing. default istrue
License
MIT
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK