← Plugins

Markdown and MDX Preview Search

Preview, search, and edit Markdown and MDX files in one Paseo file panel.

$ paseo plugin add alexander-delre-ai/mdx-preview-search
Markdown and MDX Preview Search screenshot 1

Opens .md, .markdown, and .mdx files in one rendered preview panel. Markdown files render as written; MDX files are converted to Markdown before rendering. The panel has Preview and Source views and a find bar for the rendered page.

MDX is Markdown with JSX components and JavaScript imports. Docusaurus sites also use YAML frontmatter and :::note admonitions. The plugin rewrites those parts into plain Markdown before it renders the page. It never runs code from the file.

  • Frontmatter shows as a YAML block. Its title becomes the page heading when the body has none.
  • import and export lines and {/* */} comments are hidden.
  • Admonitions such as :::note and :::warning show as labeled quotes.
  • Components keep their children. A component with an items, code, text, label, or title prop renders that prop as a list, a code block, or text. Other self-closing components show as a placeholder with their props.
  • Links, images, line breaks, details, and inline formatting tags render as Markdown.

Source view edits the file and saves after a short pause. Find in preview works on desktop and web, with Ctrl+F or Cmd+F inside the panel.

The plugin runs only in the Paseo app and has no settings. It reads and writes only the file you open. It requires Paseo 0.18.2 or later.

Related plugins

Browse all plugins →