alpha
Login
or
Join now
eagraf.dev
/
textile
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
A local-first note taking app
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
textile
/
src
/
editors
/
automerge
/
at
main
1 folder
3 files
Ethan Graf
Bulleted & numbered list editing: glyphs, tight continuation, nesting
2d ago
3d194ef7
livePreview
Bulleted & numbered list editing: glyphs, tight continuation, nesting Improve the CodeMirror live-preview editor's list support: - Bullets render as a • glyph (widget) instead of a literal -/*/+, with the raw marker revealed on the cursor's line for editing. Ordered markers keep their digits. - List indentation (and the glyph) only apply once the marker is followed by a space, so a marker mid-typing no longer indents then un-indents. - New listKeymap.ts supplies Enter/Backspace/Tab/Shift-Tab for list items, replacing @codemirror/lang-markdown's addKeymap (which turns lists "loose", inserting a blank line between items — the "new item two lines below" bug): - Enter: tight continuation with the next marker + trailing space, auto-incrementing ordered lists; exits the list on an empty item. - Tab/Shift-Tab: nest/outdent aligned to the parent's content column, with ordered-list renumbering (reset to 1 on indent, continue parent on outdent). Falls through to the default indent outside a list. Headless tests cover the decoration builder and every list command (168 passing). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2 days ago
automergeDocumentEditor.tsx
Bulleted & numbered list editing: glyphs, tight continuation, nesting Improve the CodeMirror live-preview editor's list support: - Bullets render as a • glyph (widget) instead of a literal -/*/+, with the raw marker revealed on the cursor's line for editing. Ordered markers keep their digits. - List indentation (and the glyph) only apply once the marker is followed by a space, so a marker mid-typing no longer indents then un-indents. - New listKeymap.ts supplies Enter/Backspace/Tab/Shift-Tab for list items, replacing @codemirror/lang-markdown's addKeymap (which turns lists "loose", inserting a blank line between items — the "new item two lines below" bug): - Enter: tight continuation with the next marker + trailing space, auto-incrementing ordered lists; exits the list on an empty item. - Tab/Shift-Tab: nest/outdent aligned to the parent's content column, with ordered-list renumbering (reset to 1 on indent, continue parent on outdent). Falls through to the default indent outside a list. Headless tests cover the decoration builder and every list command (168 passing). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2 days ago
automergeEditor.css
Bulleted & numbered list editing: glyphs, tight continuation, nesting Improve the CodeMirror live-preview editor's list support: - Bullets render as a • glyph (widget) instead of a literal -/*/+, with the raw marker revealed on the cursor's line for editing. Ordered markers keep their digits. - List indentation (and the glyph) only apply once the marker is followed by a space, so a marker mid-typing no longer indents then un-indents. - New listKeymap.ts supplies Enter/Backspace/Tab/Shift-Tab for list items, replacing @codemirror/lang-markdown's addKeymap (which turns lists "loose", inserting a blank line between items — the "new item two lines below" bug): - Enter: tight continuation with the next marker + trailing space, auto-incrementing ordered lists; exits the list on an empty item. - Tab/Shift-Tab: nest/outdent aligned to the parent's content column, with ordered-list renumbering (reset to 1 on indent, continue parent on outdent). Falls through to the default indent outside a list. Headless tests cover the decoration builder and every list command (168 passing). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2 days ago
automergeEditorBinding.ts
Add pre-commit hook (format, lint, test) and format the repo - .githooks/pre-commit runs `format:check`, `lint`, and `test`; commits are blocked unless all pass. Enabled via core.hooksPath, wired by a `prepare` npm script so `npm install` activates it on fresh clones. - Ran `prettier --write .` across the repo so it's now Prettier-clean and the hook's format:check passes going forward. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 month ago