marklit

v0.2.1
Modern markdown parser in Typescript
markdown markup marked math abbrevations footnotes ast adt render and 4 more...

compile

npm run compile-es && npm run compile-js

clean

npm run clean-es && npm run clean-js

compile-es

tsc --outDir es --module es6

clean-es

rm -rf es

compile-js

tsc --outDir .

clean-js

rm -rf *.d.ts *.js *.js.map render inline block

prepack

npm run compile

postpack

npm run clean

compile-test

npm run conv-test && browserify -d test/index.ts -p [ tsify --resolveJsonModule ] -o test-out.js

clean-test

rm -f test-out.js test/*-out.json

test

testem ci

test-node

npm run conv-test && TS_NODE_TYPE_CHECK=y TS_NODE_COMPILER_OPTIONS='{"resolveJsonModule":true}' mocha -r ts-node/register test/index.ts

test-dev

testem

conv-test

ts-node test/to test/original test/original-out.json; ts-node test/to test/new test/new-out.json
npm i marklit

Metadata

  • MIT
  • Whatever
  • K.
  • released 12/4/2018

Downloads

Maintainers