Skip to content

Commit 801df60

Browse files
committed
chore: bump to 0.14.0 (GFM tables + find & replace) and document them in the README
1 parent 54f1ec2 commit 801df60

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "writ"
3-
version = "0.13.0"
3+
version = "0.14.0"
44
description = "A hybrid markdown editor combining raw text editing with live inline rendering"
55
authors = ["Wilfred Denton <wilfred@hey.com>"]
66
license = "MIT"

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,14 @@ Fenced code blocks render with syntax highlighting (currently Rust and Bash). Th
119119

120120
Full selection support with click, drag (with edge auto-scroll), shift+arrow keys, double-click to select word, and triple-click to select line. Vertical movement keeps a sticky goal column through short lines. Copy, cut, and paste (with normalization) work as expected, and paste is context-aware inside blockquotes and code blocks. Undo/redo coalesce runs of typing into word-granular steps, with full cursor restoration. Cursor movement, selection, and deletion operate on whole grapheme clusters (so emoji and combining marks never split).
121121

122+
### GFM Tables
123+
124+
Pipe tables render as a live grid — bold header, per-column alignment (`:--`/`:-:`/`--:`), and inline styles (bold, code, links) inside cells. Move your cursor into a table and it reveals the raw pipe source for editing; move out and it snaps back to the grid. Type a header row like `| Name | Age |` and press Shift+Enter to scaffold the delimiter and a body row; Tab moves between cells (and appends a row from the last cell).
125+
126+
### Find and Replace
127+
128+
Ctrl+F opens a find bar docked above the status bar; Ctrl+H adds the replace row. Matches highlight live with a count, and the current match is emphasized; Enter/Shift+Enter cycle through them. Toggle regular expressions (Alt+R, with `$1` capture groups in the replacement) and case sensitivity (Alt+C). Enter in the replace field swaps the current match, Ctrl+Enter replaces all in one undo step. Click into the document to keep the bar open while you edit.
129+
122130
## Library Usage
123131

124132
writ is also a library: its rendering and editing layers work independently of the
@@ -188,7 +196,7 @@ and opt into only what you need:
188196

189197
```toml
190198
# render-only: pulls in none of tokio/reqwest/gix/github/winit
191-
writ = { version = "0.13", default-features = false }
199+
writ = { version = "0.14", default-features = false }
192200
```
193201

194202
| Feature | Adds |

0 commit comments

Comments
 (0)