fix(markdown): resolve issue #245 formatting parser boundaries - #249
Open
ThisIs-Developer wants to merge 3 commits into
Open
fix(markdown): resolve issue #245 formatting parser boundaries#249ThisIs-Developer wants to merge 3 commits into
ThisIs-Developer wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Deploying markdownviewer with
|
| Latest commit: |
fc54b97
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://412b92e4.markdownviewer.pages.dev |
| Branch Preview URL: | https://fix-issue-245-formatting-pip.markdownviewer.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
\color{name}{content}for MathJax 3Why
Issue #245 exposed a shared architectural cause: document-wide regex preprocessing and naive large-document segmentation could run before Marked established code, math, and block boundaries. The broader audit also found raw ASCII-only slugging and incomplete footnote state management.
Mixed
-and*list markers already produced separate GFM lists and required regression coverage rather than a parser change. Definition lists remain the existing Markdown Extra extension; this PR does not add a new Markdown flavor or dependency.How it was tested
npm run check:static— passednpm run test:e2e:cross-browser— 12/12 passedDocumentation
No user documentation changes are required. The changes restore the reported syntax while preserving GFM, the existing Markdown Extra definition-list extension, standard MathJax 3 behavior, code isolation, and sanitization.
Closes #245