Skip to content

feat(core): Add siteConfig.markdown.hooks.onUnusedMarkdownDirectives#12204

Open
JLHwung wants to merge 4 commits into
facebook:mainfrom
JLHwung:add-md-hooks-on-unused-directives
Open

feat(core): Add siteConfig.markdown.hooks.onUnusedMarkdownDirectives#12204
JLHwung wants to merge 4 commits into
facebook:mainfrom
JLHwung:add-md-hooks-on-unused-directives

Conversation

@JLHwung

@JLHwung JLHwung commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Pre-flight checklist

  • I have read the Contributing Guidelines on pull requests.
  • If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
  • If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

See #10674.

Test Plan

Unit tests

Test links

Deploy preview: https://deploy-preview-12204--docusaurus-2.netlify.app/docs/api/docusaurus-config/#markdown

Related issues/PRs

Closes #10674

@meta-cla meta-cla Bot added the CLA Signed Signed Facebook CLA label Jun 26, 2026
@netlify

netlify Bot commented Jun 26, 2026

Copy link
Copy Markdown

[V2]

Built without sensitive environment variables

Name Link
🔨 Latest commit f9a5ce9
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/6a3e8e9ce260ea000887fd37
😎 Deploy Preview https://deploy-preview-12204--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a siteConfig.markdown.onUnusedDirective: 'throw' option

1 participant