svrx-plugin-markdown

1.0.2 • Public • Published

svrx-plugin-markdown

svrx plugin for markdown

Usage

please confirm you have installed svrx already

Feature

  • 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

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

Package Sidebar

Install

npm i svrx-plugin-markdown

Weekly Downloads

11

Version

1.0.2

License

MIT

Unpacked Size

1.17 MB

Total Files

15

Last publish

Collaborators

  • leeluolee