-
-
Notifications
You must be signed in to change notification settings - Fork 198
Replace containerSyntax with remark-directive #2762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for rspress-v2 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
|
|
https://docusaurus.io/blog/releases/3.0#markdown We plan to maintain consistency with docusaurus in the implementation of admonitions, to correctly support the directive syntax in the commonmark specification. |
Co-authored-by: SoonIter <[email protected]>
Co-authored-by: SoonIter <[email protected]>
Rsdoctor Bundle Diff Analysis
A detailed bundle diff analysis has been generated using Rsdoctor. You can download and view the interactive HTML report from the workflow artifacts. 📦 Download Link: Download Bundle Diff Report Generated by Rsdoctor Action |
Summary
Replaces custom container parsing logic with
remark-directivewhile maintaining backward compatibility for VuePress/Docusaurus syntax.Related Issue
Related to issue about replacing containerSyntax with remark-directive implementation.
Changes
remark-directiveandmdast-util-directiveto runtime dependenciesremarkDirectivebeforeremarkContainerSyntaxin the processing pipelinecontainerSyntax.tsto useremark-directivefor standard syntax (e.g.,:::tip) while preserving custom parsing for:::: tip Custom Title> [!TIP]remark-directiveparsed content)Checklist
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.