Skip to content

Conversation

@samuelstroschein
Copy link
Member

Foundation for flashtype

The v1 of flashtype war achitecturally improvable. It build on plate and treated the plate ast as source of truth.

The new v2 architecture uses tiptap with custom extensions that 1:1 map the markdown ast to tiptap for both the ast and the html (!).

That means

  1. standard markdown parsing and serialization without roundtripping hickups via the markdown-wc package

  2. TipTap renders the specc'ed html from markdown-wc which enables out of the box diffing with html-diff

  3. No reliance on serialized ids. The new architecture can fuzzy match nodes to existing state (!!!).

@changeset-bot
Copy link

changeset-bot bot commented Sep 6, 2025

⚠️ No Changeset found

Latest commit: b15289d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@samuelstroschein samuelstroschein temporarily deployed to markdown-wc-bindings - lix-docs PR #3691 September 6, 2025 21:46 — with Render Destroyed
@samuelstroschein samuelstroschein temporarily deployed to markdown-wc-bindings - prosemirror-example PR #3691 September 6, 2025 21:46 — with Render Destroyed
@samuelstroschein samuelstroschein temporarily deployed to markdown-wc-bindings - flashtype.ai PR #3691 September 6, 2025 21:46 — with Render Destroyed
@samuelstroschein samuelstroschein temporarily deployed to markdown-wc-bindings - lix-html-diff-docs PR #3691 September 6, 2025 21:46 — with Render Destroyed
@samuelstroschein samuelstroschein temporarily deployed to markdown-wc-bindings - lix-docs PR #3691 September 6, 2025 21:52 — with Render Destroyed
@nx-cloud
Copy link

nx-cloud bot commented Sep 6, 2025

View your CI Pipeline Execution ↗ for commit b15289d

Command Status Duration Result
nx run-many --nx-bail --target=build --parallel ✅ Succeeded 2m 9s View ↗
nx run-many --target=test --parallel ✅ Succeeded 55s View ↗
nx run-many --target=lint --parallel ✅ Succeeded 4s View ↗

☁️ Nx Cloud last updated this comment at 2025-09-06 22:10:52 UTC

@samuelstroschein samuelstroschein merged commit 1e6aad3 into main Sep 6, 2025
3 of 4 checks passed
@samuelstroschein samuelstroschein deleted the markdown-wc-bindings branch September 6, 2025 22:12
@github-actions github-actions bot locked and limited conversation to collaborators Sep 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants