docs/plans/2026-04-17-code-block-demo-debug.md
Find the real cause of the /blocks/code-block-demo regression where typing triple backticks leaves the first two backticks in place in the live demo, even though package and app integration tests pass.
code-block-demo.code-block-demo, and typing triple backticks in a reset paragraph still creates a code_block.@platejs/code-block now patches the passed
lowlight instance with a browser-safe Python grammar before highlighting,
so kits stay unchanged and Python still highlights.learnings-researcher, debug, testing, tdd, browser-use, and planning-with-files.docs/solutions/ for hydration, registry, and code-block failures before touching more code.apps/www/.next, and restarted apps/www to get one clean repro surface.packages/code-block and reverted
the app-level lowlight helper so kits remain stock.browser-use: Python highlight succeeds, no hydration
error, and triple backticks still promote to a code block.docs/solutions/logic-errors/2026-04-17-code-block-browser-highlight-must-match-server-output.md.