1.0.1 • Published 5 years ago

markassin v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

markassin

Generate a static website from your mardown documentation.

NPM Version Build Status Coverage Status Known Vulnerabilities

Installation

npm install -g markassin

Use

markassin <source> <target>

example

Options

  • -h, --help output usage information
  • -V, --version output the version number
  • -t --template generate html with a custom template
  • -f --force force generate (erase target dir if exists)

Commands

  • markassin <source> <target> Generate website from markdown source

Miscellaneous

Generator use Github markdown stylesheet to render html.

Templating

To generate custom html, markassin accept input template with --template t param.

Template format

module.exports = content => `<!DOCTYPE html>
  <html>
  <head>
    head stuff here
  </head>
  <body class="markdown-body">
  ${content} // markdown transformed is injected here
  </body>
  </html>`;
`
1.0.1

5 years ago

1.0.0

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago