-
Notifications
You must be signed in to change notification settings - Fork 16
/
marked.node_cli.txt
26 lines (19 loc) · 1.97 KB
/
marked.node_cli.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
MARKED
VERSION ==> #0.3.2
#Renders Markdown -> HTML
MARKED('MARKDOWN'[, OPTS] #OPTS:
[,FUNC(ERROR,'HTML')])->'HTML'# - highlight FUNC('HTML', STR3, FUNC2(ERROR, 'HTML')):
# - additional function passed in for code blocks ```STR3\nSTR```
# - renderer (def: new MARKED.Renderer()): to customize rendering
# - gfm BOOL (def: true): Github flavored markdown
# - tables BOOL (def: true): Github tables
# - breaks BOOL (def: false): STR\nSTR2 instead of STR \nSTR2
# - sanitize BOOL (def: false): escape any HTML tag
MARKED.setOptions(OPTS) #
marked [FILE] #Command line
--no-gfm #
--no-tables #
--breaks #
--sanitize #