Skip to content

Mintlify MDX extension - #7108

Merged
ethanpalm merged 4 commits into
mainfrom
docs-vscode-extension
Aug 25, 2026
Merged

Mintlify MDX extension#7108
ethanpalm merged 4 commits into
mainfrom
docs-vscode-extension

Conversation

@ethanpalm

@ethanpalm ethanpalm commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Documentation changes

documents new Mintlify MDX extension

Closes https://linear.app/mintlify/issue/DOC-424/document-new-mintlify-mdx-vs-code-extension


For Reviewers

When reviewing documentation PRs, please consider:

✅ Technical accuracy

  • Code examples work as written
  • Commands and configurations are correct
  • Links resolve to the right destinations
  • Prerequisites and requirements are accurate

✅ Clarity and completeness

  • Instructions are clear and easy to follow
  • Steps are in logical order
  • Nothing important is missing
  • Examples help illustrate the concepts

✅ User experience

  • A new user could follow these docs successfully
  • Common gotchas or edge cases are addressed
  • Error messages or troubleshooting guidance is helpful

Note

Low Risk
Documentation-only changes with no runtime impact; verify docs.json nav slug matches cli/mdx-extension so the new page is reachable.

Overview
Adds a new Mintlify MDX extension page (cli/mdx-extension.mdx) covering install, autocomplete, diagnostics, hover docs, go-to-definition, docs.json validation, in-editor preview via mint dev, surround-with snippets, settings/commands, conflicting extensions, and troubleshooting.

Updates the CLI docs to point authors at that extension instead of the generic MDX VS Code plugin: Editor support on install, a Next steps link on the CLI index, and a Tip on local preview describing the side-by-side editor preview.

Expands the Vale allowlist so prefetch inflections pass spellcheck.

Reviewer note: docs.json still registers cli/vs-code-extension while the new page slug is cli/mdx-extension—confirm nav resolves or align the path.

Reviewed by Cursor Bugbot for commit 1ebce22. Bugbot is set up for automated code reviews on this repo. Configure here.

ethanpalm and others added 4 commits August 25, 2026 14:50
Add a page for the Mintlify MDX extension (mintlify.mintlify-snippets),
which had no coverage outside a 2024 changelog entry describing its
snippets-only predecessor.

Covers autocomplete, diagnostics, hover docs, go-to-definition,
docs.json schema validation, the in-editor preview panel, surround
snippets, all four settings, and all five commands, verified against
the shipped v2.0.0 manifest and bundle.

Replace the unifiedjs.vscode-mdx recommendation in cli/install.mdx.
Our extension warns users to disable that one, so the previous
guidance routed them into a known conflict.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The vocabulary had a bare `prefetching` entry, so `prefetches` and
`prefetched` in cli/preview.mdx were flagged as misspellings. Vale
wraps entries in \b, so the bare form matches only that one variant.

Use `(?i)prefetch(es|ed|ing)?` rather than the uncased suffix pattern
used by neighboring entries. An uncased entry also generates a
case-enforcing Vale.Terms rule, which would flag a sentence-initial
"Prefetching" as an error. "prefetch" has no canonical capitalization
worth enforcing, so the non-enforcing form avoids a latent false
positive.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Aug 25, 2026, 10:08 PM

@mintlify

mintlify Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
tomee 🟡 Building Aug 25, 2026, 10:07 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant