You can convert abstractmark file into html file using CLI!
npm
or yarn
with it's path registered on your system pathnpm i @abstractmark/abstractmark -g
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.
run abstractmark [abstractmark file] [Output file] [abstractmark options]
, options available:
-open
.......... Open Converted HTML file in your default browser after finish converting.-t
, --tags
... Convert to only HTML file which contains only corresonding tags. (Note that AbstractMark CLI converts to full HTML file as default)-unstyled
...... Convert to only HTML file without default style on it.run abstractmark [option]
, options available:
--help
.......... Informations about AbstractMark CLI-v
................... Shows AbstractMark current versionhelloworld.am
into helloworld.html
$ abstractmark helloworld.am
helloworld.am
into hi.html
$ abstractmark helloworld.am hi.html
helloworld.am
into test.html
and open it on browser$ abstractmark helloworld.am test.html -open
helloworld.am
into test.html
without default style and open it on browser$ abstractmark helloworld.am test.html -open -unstyled
helloworld.am
into test.html
with only its corresonding tag and without default style and open it on browser$ abstractmark helloworld.am test.html -open -t -unstyled