Repository navigation
Custom task-checkbox symbols and demo upgrade - #103
Merged
Merged
Conversation
Add a TaskCheckboxStyle configuration group with uncheckedSymbolName / checkedSymbolName so embedders can swap the drawn checkbox glyphs (e.g. circle / checkmark.circle.fill). Defaults keep the stock square symbols, and unresolvable names fall back to them at draw time. Tinting, sizing, and click hit-testing are unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Configure square / square.fill via TaskCheckboxStyle and add a task-list section to the sample markdown so the custom glyphs are visible. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Three engine modes become toolbar toggles: isEditable, rawSourceMode, and readingWidth (620pt centered column). readingWidth is only read at makeNSView time, so the reading-column toggle recreates the editor via .id(). The two scroll-away-header toggles fold into a Header menu, and the editor gains a styled placeholder for the emptied document. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…tables New Blockquotes & lists section (nesting, renumbering), and the table demo swaps the placeholder German cost tables for literature comparisons (Der Zauberberg, The Master and Margarita, The Picture of Dorian Gray) — long opening lines exercise cell wrapping, hyphenated scholarly terms keep the many-column table wide enough to scroll. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
demo: toolbar mode toggles and a richer sample document
The demo now shows the stock square / checkmark.square.fill pair; TaskCheckboxStyle remains available for embedders and the task-list section points to it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
A−/A+ buttons (10–28pt, step 2) drive the wrapper's fontSize live; headings, code, and math scale relative to the base size, and the empty-document placeholder follows it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Nicolas-Py
marked this pull request as ready for review
July 20, 2026 19:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Engine
TaskCheckboxStyle: task checkboxes accept any SF Symbol pair viauncheckedSymbolName/checkedSymbolName; names that don't resolve fall back to the defaults (square/checkmark.square.fill)Demo
🤖 Generated with Claude Code