Vitaly Puzrin
efc714f702
standard: more tweaks & simplify eslint config
1 year ago
Vitaly Puzrin
94177fca70
standard: spaces in comments
1 year ago
Vitaly Puzrin
0eb4cb96a4
standard: space before function params
1 year ago
Vitaly Puzrin
d0219010ad
standard: remove semi
1 year ago
Vitaly Puzrin
88b8669c46
var => const, let
1 year ago
Vitaly Puzrin
e92e776411
Rewrite core to es6 modules
1 year ago
Vitaly Puzrin
564de6b249
Deps bump & related updates
4 years ago
Ryan O’Hara
cf835e0440
Make --no-html have an effect in CLI
HTML is a surprising default, too.
7 years ago
Matt Bierner
fbf0a591ab
Add output file option to cli
Adds an option for specifying an output file when using markdown-it from the command line.
I'm on the VScode team and in our docs we currently recomend that users install marked for converting markdown to html: https://code.visualstudio.com/Docs/languages/markdown#_compiling-markdown-into-html . I'd like to use markdown-it in this example instead, but correctly setting up a task for this is not as easy as it is with marked. Having a commandline output file option addresses this.
8 years ago
Vitaly Puzrin
760050edcb
eslint update & code cleanup
9 years ago
Alex Kocharin
1845175502
Allow node.js to exit naturally
Calling `process.exit()` can cause process to abort before the entire text
is written to the stdout.
When I tested this, out of 1.8Mb binary only 65536 bytes had been written.
9 years ago
Vitaly Puzrin
52a6dc3bb8
Added basic CLI support. Related to #60 , #9
10 years ago
Vitaly Puzrin
bf5c585a01
Moved testing CLI script to another location, to avoid confusion. Related to #60 , #9
10 years ago
Vitaly Puzrin
66948b893e
Fixed options in cli script
10 years ago
Vitaly Puzrin
9afffbaefd
Changed project name, links, attribution & updated constructor call
10 years ago
Vitaly Puzrin
671fd4f3ed
eslint rules & coding style update
10 years ago
Vitaly Puzrin
a4afaa4ccb
Freeze default rules set (~ equal to GFM). Added `full` preset to enable everything.
10 years ago
Vitaly Puzrin
b27c630815
Code structure and options refactoring
10 years ago
Vitaly Puzrin
1342db2d96
Added typographer draft
10 years ago
Vitaly Puzrin
56282f2b32
Moved specsplit script to `support`
10 years ago
Alex Kocharin
5e93d7c430
Updated specsplit options and tests
10 years ago
Vitaly Puzrin
c384f13798
API & options names polish
10 years ago
Vitaly Puzrin
5d89fd85b0
Added inline html tags support
10 years ago
Vitaly Puzrin
a8e6bab747
Reworked html parse in block lexer + added `html` option
10 years ago
Vitaly Puzrin
e0a153fe09
fences, heading, list fixes for stmd cases
10 years ago
Vitaly Puzrin
8000a08891
Added stmd spec processor tool
10 years ago
Vitaly Puzrin
a8f9ea5b57
replaced jshint with eslint for better style check
10 years ago
Vitaly Puzrin
c72bba2090
Added lexer/renderer stubs
10 years ago