File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 11# Defer Panic CLI
22
33Toolkit for managing Defer Panic articles and other stuff.
4+
5+ ## Requirements
6+
7+ * [ pandoc] ( https://pandoc.org )
8+ * xelatex (for exporting to PDF)
9+ * [ Computer Modern Unicode fonts] ( https://cm-unicode.sourceforge.io/index.html ) (if you want to use them for exporting to PDF)
10+
11+ ## Install
12+
13+ Go to Releases page and download archive with latest version for your platform.
14+
15+ If you want to build Defer Panic CLI manually, make sure you have Go 1.19+ on your machine, then run:
16+
17+ ``` shell
18+ go install github.com/defer-panic/dp-cli@latest
19+ ```
20+
Original file line number Diff line number Diff line change @@ -114,15 +114,15 @@ func readDataFromInput() (*Data, error) {
114114 }
115115
116116 mainFontInput := textinput .New ("What main font should be used?" )
117- mainFontInput .InitialValue = "Times New Roman"
117+ mainFontInput .InitialValue = "CMUSerif- Roman"
118118
119119 mainFont , err := mainFontInput .RunPrompt ()
120120 if err != nil {
121121 return nil , err
122122 }
123123
124124 monoFontInput := textinput .New ("What monospace font should be used?" )
125- monoFontInput .InitialValue = "Fira Code "
125+ monoFontInput .InitialValue = "CMUTypewriter-Regular "
126126
127127 monoFont , err := monoFontInput .RunPrompt ()
128128 if err != nil {
You can’t perform that action at this time.
0 commit comments