npm install @matthewwolfe/simplemark
npm install -g @matthewwolfe/simplemark
-v
--version
- Currently installed version
-s
--source
- Source directory, default is ./src
-c
--css
- Path to global CSS file
-w
--watch
- Watch source directory and global CSS file for changes
Once you have downloaded the package, the following steps will get you started quickly:
src
docs
directory (Optional). This is the output directory. If it doesn't exist, simplemark will create it|- src
|- index.md
|- example-directory
|- index.md
|- another-file.md
|- css
|- global.css
|- package.json
|- package.lock
Then you can get started with:
simplemark -c ./css/global.css -w
With the -w
option, simplemark will automatically monitor your files for changes, and transform all your
files automatically.