Skip to content

v1.0.24 Alpha

Pre-release
Pre-release

Choose a tag to compare

@xmhrnx xmhrnx released this 14 Nov 20:55
· 88 commits to main since this release
75854b9
Markdown math: $...$ and $$...$$ with MarkdownOptions.Math

With Math, $$...$$ and \[...\] starting a line are display formulas,
centered and scrolling sideways when wider than the text, and $...$ and
\(...\) in a line are inline formulas on the text's baseline that wrap
with the words. Dollars follow GitHub's rules: no space just inside,
no digit after the closing one, and none inside, so "$5 and $10" stays
text. A selection copies a formula as its source; one that doesn't read
shows its source as code. Markdown reaches package formula through an
internal hook its import sets, so apps without formulas don't carry the
math font.

RichText takes SpanElement: an element in the line, on the baseline,
wrapping as a word and growing its line when taller than the text and
its leading, copied as the text given. formula.Check reports unknown
commands, missing braces and arguments and unmatched \left, \right,
\begin and \end; \middle is set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MU62SnJsykHzrjbFFZ2G79