@rivolink/leaf-linux-x64 1.17.0 → 1.18.1
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 +46 -0
- package/leaf +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,6 +33,14 @@ npm:
|
|
|
33
33
|
npm install -g @rivolink/leaf
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
+
ArchLinux (AUR):
|
|
37
|
+
|
|
38
|
+
Use an [AUR helper](https://wiki.archlinux.org/title/AUR_helpers), such as `yay`:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
yay -S leaf-markdown-viewer
|
|
42
|
+
```
|
|
43
|
+
|
|
36
44
|
Verify the installation:
|
|
37
45
|
|
|
38
46
|
```bash
|
|
@@ -120,6 +128,24 @@ cat TESTING.md | leaf
|
|
|
120
128
|
|
|
121
129
|
```
|
|
122
130
|
|
|
131
|
+
## Configuration
|
|
132
|
+
|
|
133
|
+
Set default values for theme, editor, and watch mode via `config.toml`:
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
leaf --config
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
This opens the configuration file in your editor. If the file does not exist yet, leaf creates it with documented defaults.
|
|
140
|
+
|
|
141
|
+
```toml
|
|
142
|
+
theme = "ocean" # arctic, forest, ocean, solarized-dark
|
|
143
|
+
editor = "nano" # any editor in PATH
|
|
144
|
+
watch = false # auto-reload when opening a file
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
All settings are optional. CLI arguments always take priority. See [`config.toml`](config.toml) for details.
|
|
148
|
+
|
|
123
149
|
## Keybindings
|
|
124
150
|
|
|
125
151
|
| Key | Action |
|
|
@@ -209,3 +235,23 @@ npm:
|
|
|
209
235
|
```bash
|
|
210
236
|
npm uninstall -g @rivolink/leaf
|
|
211
237
|
```
|
|
238
|
+
|
|
239
|
+
## Contributors
|
|
240
|
+
|
|
241
|
+
Thanks to all contributors.
|
|
242
|
+
|
|
243
|
+

|
|
244
|
+
|
|
245
|
+
## Support
|
|
246
|
+
|
|
247
|
+
Contributions are welcome. Feel free to open an issue or submit a pull request.
|
|
248
|
+
|
|
249
|
+
See the [CONTRIBUTING.md](CONTRIBUTING.md) file for details.
|
|
250
|
+
|
|
251
|
+
If you like **leaf**, consider giving the project a star ⭐
|
|
252
|
+
|
|
253
|
+
## License
|
|
254
|
+
|
|
255
|
+
This project is licensed under the MIT License.
|
|
256
|
+
|
|
257
|
+
See the [LICENSE](LICENSE) file for details.
|
package/leaf
CHANGED
|
Binary file
|