* perf: Build table tokens in one pass when parsing Markdown
The tables-pm rule spliced into the full token array for each table cell,
which is quadratic in documents with many tables and blocked the worker
event loop during Markdown imports.
* test: Cover multiple tables, alignment, and tables in lists and blockquotes
Regex lookbehind is unsupported before Safari 16.4, and the table rule
built one at module scope, so the throw took out the whole editor.
Replace it with a manual scan of the preceding character.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
- Serialize code fences longer than any backtick run in the content, so
content lines cannot terminate the fence early on reparse
- Reduce the fence info string and language attribute to a single safe
token when parsing and serializing
- Share the markdown parser and serializer through the editor test helper