vue-markdown-book

1.4.1 • Public • Published

Introductions

  • Mac only for now. Windows support later.
  • It is a command cli.
  • It will process markdown files into website.
  • You can write vue code in markdown file, and also npm package is supported.
  • It will display content directly when touching file type which is not markdown.

demo

https://hoperyy.github.io/vue-markdown-book/index.html#/index

debug

build

  • vuebook build

user config

  • .bookrc

    module.exports = {
    
        // {RegExp}; Files which should not be shown; null by default
        shouldNotShowReg: /(inserted)/i, 
    
        // {RegExp}; File extname which should not be shown; null by default
        shouldNotShowExtnameReg: /(\.md)/i,
    
        // {Array}; sort menu; dir or filename is supported
        sort: [ 'detail.md', 'index.md', 'index.html' ],
    
        // {String}; static root path used in html file; '/' by default
        // for example, if 'staticPath' is '/', this static source path in index.html will be '<script src="/static/common.js"></script>'
        // for example, if 'staticPath' is '/vue-markdown-book', this static source path in index.html will be '<script src="/vue-markdown-book/static/common.js"></script>'
        // for example, if 'staticPath' is '/test', this static source path in index.html will be '<script src="/test/static/common.js"></script>'
        staticPath: '/vue-markdown-book'
    
    };
    

Readme

Keywords

none

Package Sidebar

Install

npm i vue-markdown-book

Weekly Downloads

12

Version

1.4.1

License

ISC

Unpacked Size

1.4 MB

Total Files

58

Last publish

Collaborators

  • antfoot