Syntax repair - Fluxdown
Markdown can stop halfway through a link, a list number, or a formula denominator while a response is arriving. Fluxdown renders the structure it can already identify and holds uncertain endings until more text arrives.
Stop at any character
Six short cases share one progress control. Scrub, slow down or advance one character at a time, comparing received Markdown with repair off and on in each row. Finish the stream to inspect the state after ending repair stops.
Streaming · pausing does not end the input
Strong & links
**Streaming **Streaming
Streaming
Lists & tasks
9. First ite- First ite
- First ite
Table & inline code
| Name | Val| Name | Val
HTML & entities
Read <a hrefRead <a href
Read
Math & fractions
The result: The result:
The result:
Both panes receive the same text. Smoothing and effects are disabled.
Watch whether content changes its semantic role: a number appearing as text and then becoming a list marker is a syntax transition. Appending text, wrapping a line, or extending a formula with new input is not by itself a syntax transition.
Where repair happens
- 1Prepare boundaries
- 2Repair nodes in order
- 3Clean up
Syntax repair controls what appears; smoothing controls when it appears.
Supported syntax
This table describes the main built-in behaviors. It does not imply that every incomplete input has an unambiguous final meaning.
Repairs for tables, strikethrough and other extensions check whether the matching syntax is enabled. Math also requires build.tex. See the Core repair catalog for exact plugin names and import paths.
Start, pause and finish
See Writing plugins for integration and configuration.