Skip to content

feat(web): serialize the input model to markdown - #716

Open
sbarczyk wants to merge 1 commit into
feat/web-input-block-storefrom
feat/web-input-serializer
Open

feat(web): serialize the input model to markdown#716
sbarczyk wants to merge 1 commit into
feat/web-input-block-storefrom
feat/web-input-serializer

Conversation

@sbarczyk

@sbarczyk sbarczyk commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Third layer of the web EnrichedMarkdownTextInput. Model to markdown export, ported from Kotlin MarkdownSerializer.kt.

  • serializeInline: delimiters from sorted boundary events, fixed nesting priorities, whitespace trimming
  • serialize: per-line block prefixes with a line-count invariant fallback
  • empty list items serialize bare (setext hazard), ZWSP anchors stripped at one choke point

Tested with Jest. Stacked on #715.

@sbarczyk
sbarczyk marked this pull request as ready for review August 27, 2026 09:42
@sbarczyk
sbarczyk force-pushed the feat/web-input-serializer branch from 256ec4b to a670ea4 Compare August 31, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant