New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

markassin

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markassin

Generate a static website from your mardown documentation

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

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>`;
`

Keywords

markdown

FAQs

Package last updated on 10 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts