File tree Expand file tree Collapse file tree 1 file changed +36
-1
lines changed Expand file tree Collapse file tree 1 file changed +36
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,42 @@ Supports PDF conversion via headless chromium.
9
9
10
10
> To be added...
11
11
12
- ## Usage
12
+ ## Examples
13
+
14
+ Convert ` doc.md ` to ` doc.html `
15
+ ``` bash
16
+ marky doc.md
17
+ ```
18
+
19
+ Convert to PDF
20
+ ``` bash
21
+ marky doc.md --pdf
22
+ ```
23
+
24
+ Start a live file watcher (will recompile your document on each save)
25
+ ``` bash
26
+ marky doc.md --watch
27
+ ```
28
+
29
+ Enable extensions
30
+ ``` bash
31
+ # Or use --all to enable all
32
+ marky doc.md --math --diagrams --highlight
33
+ ```
34
+
35
+ Select and use a different theme with fzf
36
+ ``` bash
37
+ marky doc.md --theme (marky --list-themes | fzf)
38
+ ```
39
+
40
+ Pipe from stdout and open compiled file
41
+ ``` bash
42
+ cat doc.md | marky --out doc.html --open
43
+ ```
44
+
45
+ > See ` --help ` for more info
46
+
47
+ ## Help
13
48
14
49
```
15
50
Markdown to HTML converter with beautiful themes
You can’t perform that action at this time.
0 commit comments