-
Notifications
You must be signed in to change notification settings - Fork 111
/
usage.txt
59 lines (34 loc) · 1.66 KB
/
usage.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Usage: vmd [FILE] [OPTIONS]
Preview markdown files in a separate window. Markdown is formatted exactly
the same as on GitHub.
With no FILE, read from standard input.
Options:
-v, --version Show vmd version number.
--versions Show version numbers of different internal
components.
-h, --help Show this help.
-t, --title=TITLE Set window title.
-d, --devtools Open developer tools.
-z, --zoom=NUM Set the zoom factor. Default: 1
--list-highlight-themes Show a list of available syntax
highlighting themes.
--styles-main=FILE Provide a custom CSS file.
--styles-extra=FILE Provide a custom CSS file to extens the
existing styles.
--highlight-theme=NAME Set the syntax highlighting theme. See
--list-highlight-themes for theme names.
--highlight-stylesheet=FILE Provide a custom CSS file for syntax
highlighting.
--window-preservestate=false By default vmd preserves the window state
for the next session, set this option to
false to disable this.
Examples:
vmd README.md
npm view browserify readme | vmd
cat README.md | vmd --highlight-theme=monokai
Configuration:
All OPTIONS can also be saved in ~/.vmdrc, ~/.config/vmd, /etc/vmdrc in YAML,
INI or JSON format.
Example INI file ~/.vmdrc:
zoom = 1.2
highlight.theme = monokai