@rivolink/leaf 1.24.1 → 1.24.2
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 +21 -20
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -231,29 +231,30 @@ See [`gruvbox.toml`](gruvbox.toml) for a complete example with all available col
|
|
|
231
231
|
| `Ctrl+L` | Go to line | `Ctrl+P` | Open fuzzy picker |
|
|
232
232
|
| `Ctrl+F` / `/` | Find | `Ctrl+E` | Open in editor |
|
|
233
233
|
| `n` / `N` | Next / prev match | `Ctrl+Click` | Open link |
|
|
234
|
-
| `
|
|
235
|
-
| `
|
|
234
|
+
| `w` | Toggle watch mode | `Double-Click` | Copy link |
|
|
235
|
+
| `r` | Force reload (watch mode) | `Shift+Drag` | Select text |
|
|
236
|
+
| `q` | Quit | `Option+Drag` | Select text (iTerm2) |
|
|
236
237
|
|
|
237
238
|
## Features
|
|
238
239
|
|
|
239
|
-
- **Live preview**
|
|
240
|
-
- **File picker**
|
|
241
|
-
- **Editor integration**
|
|
242
|
-
- **Frontmatter support**
|
|
243
|
-
- **Rich Markdown rendering**
|
|
244
|
-
- **GitHub extras**
|
|
245
|
-
- **Extra file types**
|
|
246
|
-
- **Syntax highlighting**
|
|
247
|
-
- **Line numbers**
|
|
248
|
-
- **LaTeX support**
|
|
249
|
-
- **Mermaid diagrams**
|
|
250
|
-
- **Clickable links**
|
|
251
|
-
- **Navigation**
|
|
252
|
-
- **Terminal UX**
|
|
253
|
-
- **Custom themes**
|
|
254
|
-
- **Inline mode**
|
|
255
|
-
- **Shell completions**
|
|
256
|
-
- **CLI friendly**
|
|
240
|
+
- **Live preview** : *Watch mode with automatic reload and visual feedback*.
|
|
241
|
+
- **File picker** : *Fuzzy Markdown picker, directory browser, and watch after selection*.
|
|
242
|
+
- **Editor integration** : *Open the current file in your preferred editor*.
|
|
243
|
+
- **Frontmatter support** : *YAML frontmatter rendered as a table (horizontal or vertical based on key count)*.
|
|
244
|
+
- **Rich Markdown rendering** : *Tables, lists, blockquotes, rules, bold, italic, and strikethrough*.
|
|
245
|
+
- **GitHub extras** : *Alert callouts, task list checkboxes, and `==mark==` text highlighting*.
|
|
246
|
+
- **Extra file types** : *Open any file; code files get syntax highlighting, text files render as Markdown*.
|
|
247
|
+
- **Syntax highlighting** : *Common aliases like `py`, `cpp`, `json`, `toml`, `ps1`, `dockerfile`*.
|
|
248
|
+
- **Line numbers** : *Toggle display with `Shift+L`, jump to a line with `Ctrl+L`*.
|
|
249
|
+
- **LaTeX support** : *Inline, block, and `latex` / `tex` code blocks rendered as formulas*.
|
|
250
|
+
- **Mermaid diagrams** : *`mermaid` code blocks rendered as ASCII diagrams*.
|
|
251
|
+
- **Clickable links** : *`Ctrl+Click` to open, double-click to copy, hover feedback*.
|
|
252
|
+
- **Navigation** : *TOC sidebar, active section tracking, heading jumps, and search*.
|
|
253
|
+
- **Terminal UX** : *Theme picker, help popup, file path popup, mouse and keyboard support*.
|
|
254
|
+
- **Custom themes** : *TOML theme files inheriting from built-in presets with color overrides*.
|
|
255
|
+
- **Inline mode** : *Render to stdout with `--inline` for pipes and fzf previews*.
|
|
256
|
+
- **Shell completions** : *Tab completion for bash, zsh, fish, and PowerShell via `leaf --auto-complete`*.
|
|
257
|
+
- **CLI friendly** : *stdin support and `leaf --update` with SHA256 verification*.
|
|
257
258
|
|
|
258
259
|
## Typical AI Workflow
|
|
259
260
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rivolink/leaf",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.2",
|
|
4
4
|
"description": "Terminal Markdown previewer — GUI-like experience.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"README.md"
|
|
24
24
|
],
|
|
25
25
|
"optionalDependencies": {
|
|
26
|
-
"@rivolink/leaf-linux-x64": "1.24.
|
|
27
|
-
"@rivolink/leaf-linux-arm64": "1.24.
|
|
28
|
-
"@rivolink/leaf-darwin-x64": "1.24.
|
|
29
|
-
"@rivolink/leaf-darwin-arm64": "1.24.
|
|
30
|
-
"@rivolink/leaf-win32-x64": "1.24.
|
|
31
|
-
"@rivolink/leaf-android-arm64": "1.24.
|
|
26
|
+
"@rivolink/leaf-linux-x64": "1.24.2",
|
|
27
|
+
"@rivolink/leaf-linux-arm64": "1.24.2",
|
|
28
|
+
"@rivolink/leaf-darwin-x64": "1.24.2",
|
|
29
|
+
"@rivolink/leaf-darwin-arm64": "1.24.2",
|
|
30
|
+
"@rivolink/leaf-win32-x64": "1.24.2",
|
|
31
|
+
"@rivolink/leaf-android-arm64": "1.24.2"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
34
|
"node": ">=14"
|