Commit Graph
12 Commits
Author SHA1 Message Date
ZacharyZhang-NYandClaude a20e712e29 Documents: \( pairs stay in one paragraph and off addresses; formulas place at wraps
CI / platforms (ubuntu-24.04) (push) Waiting to run
CI / site (push) Successful in 36s
CI / platforms (windows-latest) (push) Successful in 4m49s
CI / crate (push) Failing after 11m31s
- Pairs pair inside one paragraph, heading or cell; links' addresses,
  images, code and <code>/<kbd> text stay literal.
- Adjacent formulas stay two; a parting space is dropped after parsing.
- Stray and escaped dollars, in or out of a formula, stay dollars.
- A formula's node spans its delimiters; its value is the written TeX.
- A formula wrapped whole draws at its own line's start.
- A failed inline formula shows its reason after the TeX.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-18 23:54:39 -04:00
ZacharyZhang-NY dceca9f3c6 Documents: inline formulas typeset in text; \( and \[ read as math
CI / platforms (ubuntu-24.04) (push) Waiting to run
CI / site (push) Successful in 35s
CI / crate (push) Failing after 35s
CI / platforms (windows-latest) (push) Successful in 5m41s
2026-10-18 22:42:07 -04:00
ZacharyZhang-NYandClaude Opus 5.5 2e65b05a65 Documents: inline code in a sixth-level heading keeps its own color
CI / site (push) Successful in 30s
CI / platforms (windows-latest) (push) Successful in 5m29s
CI / crate (push) Failing after 12m24s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-16 14:48:11 -04:00
ZacharyZhang-NYandClaude Opus 5.5 962964e7da Documents: the field highlighter reads front matter as front matter
CI / site (push) Successful in 30s
CI / crate (push) Failing after 13m19s
CI / platforms (windows-latest) (push) Successful in 4m41s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s
Without the front matter construct, an open front matter block parsed
as a rule and a setext heading, so its keys drew bright and bold. The
highlighter now parses as the file does.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-16 14:34:16 -04:00
ZacharyZhang-NYandClaude Opus 5.5 1ff993dcb1 Documents: an open heading keeps its weight and color; front matter keeps its panel
CI / site (push) Successful in 31s
CI / crate (push) Failing after 12m51s
CI / platforms (windows-latest) (push) Successful in 4m42s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s
The field's highlighter gave headings and bold semibold over the drawn
bold, and its plain color hid a sixth-level heading's muted color. It
now uses the drawn weight, and runs inside a sixth-level heading stay
muted. Front matter opens in its mono, muted panel. The open text box
is built by one function, so tests read its background directly.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-16 14:27:26 -04:00
ZacharyZhang-NY fd8c98f3b1 documents: the whole-file parse options are public, for export
CI / platforms (windows-latest) (push) Failing after 7s
CI / site (push) Successful in 21s
CI / crate (push) Failing after 11m35s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s
2026-10-12 10:01:55 -04:00
ZacharyZhang-NYandClaude Opus 5.5 4801555e0d documents: pictures draw in table cells; Markdown-path comments within ten words
CI / crate (push) Failing after 11m44s
CI / platforms (windows-latest) (push) Failing after 8s
CI / site (push) Successful in 21s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s
A cell holds blocks, split at its pictures as a paragraph is. A picture
takes its natural width, capped by its container.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 05:12:16 -04:00
ZacharyZhang-NYandClaude Opus 5.5 2b6f5513aa MarkdownDocument: a Markdown file in one CodeEditor, shown visual, source, split or preview
CI / site (push) Successful in 34s
CI / platforms (windows-latest) (push) Successful in 5m7s
CI / crate (push) Failing after 26m45s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s
Visual draws the top-level blocks in a gpui list; a pressed block opens as
its source and its typing is the text at once, written back as one undo
step. CodeEditor takes the owner's line colors, resets with a fresh
history and keeps at most 64 MiB of undo text. MarkdownMode gains Preview.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 00:44:17 -04:00
ZacharyZhang-NYandClaude Opus 5.5 508cc55af6 Markdown: nested definitions resolve, images in styles and links stay images, CR soft breaks, reference links highlight
CI / crate (push) Failing after 26m21s
CI / platforms (windows-latest) (push) Failing after 8s
CI / site (push) Successful in 22s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-11 23:19:28 -04:00
ZacharyZhang-NYandClaude Opus 5.5 fcad0ff8e9 Markdown: MarkdownRenderer, MarkdownEditor, highlights and block ranges read with markdown-rs
CI / site (push) Successful in 32s
CI / platforms (windows-latest) (push) Successful in 4m40s
CI / crate (push) Failing after 29m18s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s
The tree comes from markdown::to_mdast with GitHub's flavor and math.
References resolve against their definitions, an image splits its
paragraph, a one-line $$ formula stands as a block. BlockEditor's
import and export keep pulldown-cmark.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-11 23:07:14 -04:00
ZacharyZhang-NY f3e2c6c27f T21a round 1 fixes
- Enter over a selection drops it and splits at its start, one undo step
- undo and redo keep where the caret was and put it back
- a format unwraps only its own markers, so italic inside bold keeps the bold
- keys into a merged table cell land on the cell that shows
- undo rebuilds a block whose kind needs other fields, so styling comes back
- tests activate their window, as focus events need
- undo bookkeeping moves to blocks/edit.rs
2026-09-26 03:49:27 -04:00
ZacharyZhang-NY 6a9ce8a2c3 T21a: Documents, editing
- markdown read with pulldown-cmark: marks for live styling, blocks, links, words
- forms::Highlight gains weight, slant and strike; measure and paint share runs
- Inter Italic embedded, so emphasis reads slanted
- forms::mention's popup and keys become Suggestions, shared with the editors
- RichTextEditor with FixedFormatToolbar, the floating toolbar, LinkEditor,
  @ and : suggestions, WordCount and ReadingTime
- MarkdownEditor: visual (a pressed block opens as source), source, split
- BlockEditor: prose, lists, to-dos, quotes, callouts, toggles, code, math,
  diagrams the app draws, dividers, tables that grow and merge, pictures to
  resize and align, cards for video and pages, columns, synced text; slash menu,
  markdown shortcuts, handles that drag and open a menu, one undo for all
- TodoItem and Checklist
- icons: heading-1..3, workflow, merge
- gallery: the Documents page with scripted states
2026-09-26 03:32:24 -04:00