Repository navigation
Conversation
This PR adds ""remark-math-extended"" (https://github.com/duz52/remark-math-extended) to the official remark plugin list. The plugin extends "remark-math" functionality by supporting TeX-style delimiters ("\(...\)" and "\[...\]") alongside traditional dollar-sign delimiters ("$...$" and "$$...$$"). This is particularly useful for LLM-generated Markdown, where models frequently output mathematical expressions using TeX-style delimiters. Adoption The package has gained significant adoption, recording approximately 158,000 weekly npm downloads in September 2026. This suggests meaningful demand for extended math delimiter support within the remark ecosystem, particularly as Markdown rendering becomes increasingly common in AI applications. Compatibility - Compatible with existing remark/unified pipelines - Produces standard mdast math nodes - Works with "rehype-katex" for rendering Links: - "GitHub Repository" (https://github.com/duz52/remark-math-extended) - "npm Package" (https://www.npmjs.com/package/remark-math-extended) This PR only updates the plugin documentation. Signed-off-by: DUZ <70562937+duz52@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1505 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 6 6
Lines 138 138
=========================================
Hits 138 138 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
remcohaszing
approved these changes
Oct 12, 2026
This branch has not been deployed
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.
Initial checklist
Description of changes
Add
remark-math-extendedto the plugin list indoc/plugins.md.The plugin supports TeX-style math delimiters (
\(...\)and\[...\]) alongside dollar delimiters ($...$and$$...$$). This is useful for Markdown content that already uses TeX-style delimiters.It produces standard mdast math nodes and integrates with
remark-rehype. ThebackslashDelimiters: falseoption preserves CommonMark escaping for backslash delimiters.This PR only adds the plugin entry, in alphabetical order. No additional tests are needed for this documentation change.
Validation:
npm testpasses with the plugin entry formatted across two lines, using Node.js 24.19.0.npm testalso passes, including development and production tests.