AbstractMark Command Line Interface

You can convert abstractmark file into html file using CLI!

Installation

Requirement

npm

npm i @abstractmark/abstractmark -g

yarn

yarn add @abstractmark/abstractmark -g

To make sure AbstractMark CLI installed properly, type abstractmark --help, it should shows abstractmark CLI usage, if it doesn't, please open an issue here.

Usage:

Example

  1. Converting helloworld.am into helloworld.html
    1. $ abstractmark helloworld.am

  2. Converting helloworld.am into hi.html
    1. $ abstractmark helloworld.am hi.html

  3. Converting helloworld.am into test.html and open it on browser
    1. $ abstractmark helloworld.am test.html -open

  4. Converting helloworld.am into test.html without default style and open it on browser
    1. $ abstractmark helloworld.am test.html -open -unstyled

  5. Converting helloworld.am into test.html with only its corresonding tag and without default style and open it on browser
    1. $ abstractmark helloworld.am test.html -open -t -unstyled