bootmark v0.8.0
markdown without worries
See some EXAMPLES
Read the DOCS
Read the CHANGELOG
This project was inspired by strapdown. Since strapdown hasn't been active for a while, I decided to take a stab at it.
some features:
- adds easy latex math support thru the katex-latex extension
- external files
- all bootswatch themes (bootstrap 3)
- optional automatic table of content
- showdown parser (vanilla markdown)
- custom templates
- in active development
installation
yarn install
yarn add bootmarknpm install
npm install --save bootmarkbower install
bower install bootmarkdevelopment
make sure you have git and nodejs installed and set up
download
first clone the repo, cd into it, and checkout the development branch
git clone https://github.com/obedm503/bootmark.git && cd bootmark && git checkout developmentinstall dependencies
for this I recommend you use yarn because it's faster, but you could also use npm
using yarn:
yarn installnpm scripts
Note: bootmark used to depend on gulp for task running but now simply uses npm scripts.
docs- scans the source file and outputs documentation todocs/DOCS.mdnpm run docsbuild:js- uglifies the source javascript file and generates source mapsnpm run build:jsbuild:css- compiles the source.scssfile to.cssand generates source mapsnpm run build:cssbuild- runsbuild:jsandbuild:cssnpm run buildbuild:watch- starts development server onlocalhost:8080and runsbuildon file changes insrc/npm run build:watchbundle- complies Sass, uglifies source js and concatenates all javascript files to create the bundle file. the bundle file includes: es6-promise polyfill, whatwg-fetch polyfill, jQuery, Bootstrap, Showdown, google-code-prettify, the showdown-prettify extension, and bootmark itself in that order```bash npm run bundle ```bundle:watch- starts development server onlocalhost:8080and runsbundleon file changes insrc/npm run bundle:watchpublish- generates docs, cleansdist/and processes source filesnpm run publishlint- lint source js file with ESLint with the style rules in.eslintrc.jsonnpm run lint
