@rivolink/leaf-win32-x64 1.16.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/leaf.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -120,6 +120,24 @@ cat TESTING.md | leaf
|
|
|
120
120
|
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
+
## Configuration
|
|
124
|
+
|
|
125
|
+
Set default values for theme, editor, and watch mode via `config.toml`:
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
leaf --config
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
This opens the configuration file in your editor. If the file does not exist yet, leaf creates it with documented defaults.
|
|
132
|
+
|
|
133
|
+
```toml
|
|
134
|
+
theme = "ocean" # arctic, forest, ocean, solarized-dark
|
|
135
|
+
editor = "nano" # any editor in PATH
|
|
136
|
+
watch = false # auto-reload when opening a file
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
All settings are optional. CLI arguments always take priority. See [`config.toml`](config.toml) for details.
|
|
140
|
+
|
|
123
141
|
## Keybindings
|
|
124
142
|
|
|
125
143
|
| Key | Action |
|
|
@@ -148,6 +166,7 @@ cat TESTING.md | leaf
|
|
|
148
166
|
- **Live preview** — Watch mode with automatic reload and visual feedback.
|
|
149
167
|
- **File picker** — Fuzzy Markdown picker, directory browser, and watch after selection.
|
|
150
168
|
- **Editor integration** — Open the current file in your preferred editor.
|
|
169
|
+
- **Frontmatter support** — YAML frontmatter rendered as a table (horizontal or vertical based on key count).
|
|
151
170
|
- **Rich Markdown rendering** — Tables, lists, blockquotes, rules, bold, italic, and strikethrough.
|
|
152
171
|
- **Syntax highlighting** — Common aliases like `py`, `cpp`, `json`, `toml`, `ps1`, `dockerfile`.
|
|
153
172
|
- **LaTeX support** — Inline, block, and `latex` / `tex` code blocks rendered as formulas.
|
package/leaf.exe
CHANGED
|
Binary file
|