Skip to content

Conversation

@qingpeng9802
Copy link

Description

Currently, mdxoptions is saying that gatsby-plugin-mdx supports the CompileOptions, but in fact, only supports the ProcessorOptions. The only difference between them is whether supporting {format: 'detect'}.

Thus, this PR will support {format: 'detect'}. This feature will benefit users widely, as they will no longer need to unilaterally choose MD or MDX, and essentially fully empowering the option extensions: ['.mdx', '.md']

Documentation

add

Tests

add matrix unit tests for [md, mdx] files and [md, mdx, detect] options

Related Issues

in the function `compileMDX`
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Dec 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer

1 participant