For more information about Abstractmark, please visit this repository.
-
Requirement:
- npm installed with its path registered on your system path. (You may ignore this if you installed npm in the proper way)
-
Installation Type
npm install @abstractmark/abstractmark -g
. To make sure it's installed properly, please typeabstractmark --help
, it should shows abstractmark CLI usage, if it doesn't, please open an issue. -
Usage:
- For Converting Abstractmark file: run
abstractmark [abstractmark file] [abstractmark options] [args]
- For Converting Abstractmark files inside a folder: run
abstractmark [folder] [abstractmark options args]
- For Abstractmark's Information : run
abstractmark [option]
- For more information about AbstractMark CLI, please type
abstractmark --help
on your terminal.
- For Converting Abstractmark file: run
-
Installation
Type
npm install @abstractmark/abstractmark
on your command line. -
Usage:
import {AbstractMark} from "@abstractmark/abstractmark"
to import AbstractMark- Pass your text to convert into AbstractMark function with your options, example:
AbstractMark("# Hello World {#Hi} {color:red}", {styled: true})
-
Available options:
styled
, convert your text into html tags with default styledfullHTMLTags
, convert your text into full structured html tags.
- Clone this repository by typing
git clone https://github.com/abstractmark/javascript.git abstractmark
and get into it by typingcd abstractmark
- To start setting up abstractmark CLI, type
npm i -g
to install it globally. To make sure abstractmark CLI is installed, typeabstractmark --help
. For more information about CLI is also written there.
All Files is minfied and the unminfied file is located in src/unminfied
folder.
For the Code of Conduct, please visit CODE_OF_CONDUCT.md
Thanks for your interest in contributing to AbstractMark! Please take a moment to review this document
AbstractMark is distributed under MIT License