You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 003bb84
Browse filesBrowse the repository at this point in the historyBrowse files
Adds textStyle and highlight ProseMirror marks (node builders in
substack/nodes.py), with Markdown round-trip via Pandoc-style span
attributes: [text]{style="color:#hex"} and
[text]{style="background-color:#hex"}, combinable in one span.
Verified against Substack's real editor schema by applying both marks
to a live draft and reading the rendered HTML back: textStyle becomes
a <span data-color> with inline color, highlight becomes a <mark
data-color> with inline background-color.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments