Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>AI Markdown Studio CommunityNew to Visual Studio Code? Get it now.
AI Markdown Studio Community

AI Markdown Studio Community

Gustavo Serpa

|
40 installs
| (0) | Free
| Sponsor
AI Markdown Studio Community combines open-source Markdown authoring with AI-assisted document and MPS generation, live previews, HTML export, and basic DOCX export.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI Markdown Studio Community

AI Markdown Studio

The open-source core of AI Markdown Studio: a VS Code extension for authoring Markdown with a live preview panel, Mermaid diagram support, KaTeX math, syntax highlighting, table formatting, document and presentation preview themes, a slide-based presentation preview, AI-assisted document and presentation generation, agent tools for MPS decks, AI Paste to Markdown, HTML export, and basic DOCX export.

AI Markdown Studio Community is licensed under the MIT License and is useful entirely on its own. It includes AI-assisted document and presentation generation, a three-tool agent workflow for MPS decks, AI Paste to Markdown, HTML export, and basic DOCX. PDF/PPTX export, high-fidelity DOCX, broad file conversion, theme AI workflows, shared custom theme folders, additional document/theme agent tools, and corporate PowerPoint template automation are provided separately by AI Markdown Studio Pro.

If AI Markdown Studio Community is useful to you, consider supporting the project through GitHub Sponsors.

Get Started

  • Create your first Markdown document
  • Create your first presentation
  • Full user guide
  • Compare Community and Pro

See It In Action

Preview, zoom Mermaid diagrams, and switch themes in one short loop.

Create AI-generated presentations from a brief and open them directly in slide preview.

Export a Markdown document to HTML and open the standalone browser result.

Export a Markdown presentation to HTML and keep the slide-style experience in the browser.

Sample documents

Open these Markdown files in VS Code to explore the document preview, themes, Mermaid rendering, math, tables, and export workflows:

  • Creating Agentic AI Applications — a long-form training guide with structured sections, tables, code examples, and practical explanations.
  • Mermaid Diagram Gallery — a collection of diagram types for preview, zoom, and export experimentation.

Sample presentations

Open these files to try slide navigation, filmstrip view, themes, layouts, Mermaid media, and speaker notes:

  • Markdown, Made Visible — a 20-slide Community feature showcase and presentation-preview sample.
  • Dinosaurs of the Triassic — a colorful, audience-friendly deck demonstrating cover slides, diagrams, notes, and presentation pacing.

Why Markdown Studio Exists

Markdown is an ideal file format for the AI era because it works as a simple common language between humans and AI systems. It is plain text, easy to parse, token-efficient, portable between tools, diffable in Git, and stable over time. AI Markdown Studio exists to keep valuable knowledge in that open format instead of letting it disappear into chat threads, closed editors, or heavyweight document files.

It also keeps content separate from presentation. You can store ideas, documentation, notes, and decks in a clean standard Markdown form, then apply themes as a separate visualization layer when you want a different reading experience, presentation style, or brand. That keeps the source simple while making the output easy to change.

Community is the open-source core of that workflow. It gives you a practical Markdown workspace for authoring, preview, presentation decks, AI-assisted generation, and basic export, so your Markdown knowledge base stays useful to both people and AI every day.

User Guide Index

  • Get Started
  • Installation
  • Features
  • Usage & Commands
  • See It In Action
  • Feature Details
    • Markdown Preview
    • Presentation Preview
    • Table Formatting
    • HTML Export
    • AI-Assisted Generation
    • MPS Agent Tools and Skills
    • AI Paste to Markdown
    • Basic DOCX Export
    • Command List
  • Security
  • AI Markdown Studio Pro
  • Acknowledgments & Third-Party Licenses

Installation

  1. Open VS Code.
  2. Go to the Extensions view (Ctrl+Shift+X).
  3. Search for AI Markdown Studio Community.
  4. Click Install.

Alternatively, install from the command line:

code --install-extension GustavoSerpa.markdown-ai-studio

Or install a packaged build directly from a .vsix file:

code --install-extension markdown-ai-studio-1.4.1.vsix

For repository information, see the repository README.

Features

  • Preview-first custom editor - opening a Markdown file uses the extension's preview custom editor by default, and switching to edit mode closes the preview surface for that file.
  • Live preview - renders standard Markdown documents and presentation-style Markdown decks in a panel as you type.
  • Mermaid diagrams - fenced ```mermaid ``` blocks are rendered as diagrams, with strict-mode initialization for untrusted content.
  • Interactive charts and metrics - use schema-validated vega-lite charts and metric JSON fences in documents and presentations. All 17 built-in marks and six composition operators are supported, with tooltips, theme colors, readable source, and offline HTML export. HTTPS image marks follow the remote-resource setting. See visualization syntax and the reusable AI authoring reference.
  • Mermaid diagram zoom - zoom a rendered diagram in place from the preview through an overlay viewer.
  • Syntax highlighting - code blocks highlighted via highlight.js.
  • Math equations - KaTeX-rendered inline and block math ($...$ / $$...$$).
  • Task lists, footnotes, and emoji - common Markdown extensions are enabled by default.
  • Local image resolution - images are resolved relative to the source Markdown file.
  • Document themes - standard document preview can follow VS Code automatically or use bundled themes.
  • Presentation themes - presentation preview can load bundled slide themes.
  • Presentation preview - presentation-style Markdown files open in a slide viewer with slide navigation, a collapsible filmstrip, immersive fullscreen mode, fixed-canvas scaling, and speaker-note display.
  • AI-assisted document generation - create Markdown documents from prompts through the GitHub Copilot service already configured in VS Code, with consent gating.
  • AI-assisted presentation generation - generate presentation-style Markdown decks from prompts through the same Copilot-backed workflow.
  • MPS agent tools and skills - let Copilot use the canonical prompt, validation, and safe-save tools, while complete portable MPS skills support Claude, Codex, and other agents that cannot call extension tools.
  • AI Paste to Markdown - convert clipboard text into a new Markdown file.
  • Basic DOCX export - export rendered Markdown to DOCX through the Community DOCX path.
  • Front matter toggle - show or hide a rendered front-matter summary in the preview.
  • Table formatting and preview layouts - auto-align Markdown tables with a single command, also available through Format Document; preview tables can stay wide and scroll horizontally or wrap to the available width.
  • HTML export - share an HTML snapshot of a document or presentation.
  • Command launcher - quick access to the extension's main actions from the editor title bar. The launcher is extensible: when a compatible feature extension such as AI Markdown Studio Pro is installed, its commands appear alongside the Community commands.
  • Command palette settings shortcut - jump directly to the extension's settings with Change Settings....
  • Single-tab per file - always one tab per file; switching modes closes the other surface.

Usage

Preview-first and mode switching:

  • Opening a Markdown file uses the markdownAiStudio.markdownPreview custom editor by default.
  • Preview Markdown is available from the editor title bar and command list when a Markdown text editor is active.
  • Document Editor opens VS Code's WYSIWYG editor; Edit Markdown opens the Markdown source. Both are available from the command list and Explorer file context menu; Document Editor is also available in the preview title bar.

All commands are available from the Command Palette (Ctrl+Shift+P), and the most common ones appear as icons in the editor title bar when a .md file is open.

Command Description Where
Preview Markdown Opens or focuses the studio preview for the current Markdown file Title bar, Explorer and tab context menus (Open Preview), command palette, command list
Document Editor Opens the native VS Code WYSIWYG Markdown editor Title bar, Explorer file context menu, command palette, command list
Edit Markdown Switches the current file to the text editor Explorer file context menu, command palette, command list
Format Markdown Tables Auto-aligns all tables in the active file Command palette, command list, Format Document
markdownAiStudio.formatTablesOnSave false Automatically formats Markdown tables when you save a Markdown file.
Generate Document (AI) Creates a new Markdown document from a prompt Command palette, command list
Generate Presentation (AI) Generates a deck with Copilot or copies a complete MPS prompt for another assistant Command palette, command list
Install Agent Skills in Workspace Installs presentation and review skills for Copilot, Claude, or Codex in the workspace Command palette, command list
Paste as New Markdown File Converts clipboard text into a new Markdown file Explorer folder context menu, command palette
Export Markdown as HTML Saves the rendered document as a standalone .html file Command palette, command list
Embed Linked Images in File Embeds local and remote images into the current Markdown file Command palette, command list
Export Markdown as DOCX (Basic) Saves the rendered document as a DOCX file Command palette, command list
Enable AI Features... Reviews the AI data-sharing notice and can enable or re-enable AI features Command palette, command list
Toggle Frontmatter Shows or hides the rendered front-matter summary in the active preview Title bar, command palette, command list when applicable
Show AI Markdown Studio Commands Lists the extension's main actions in a quick-pick menu Title bar, command palette
Change Settings... Opens the VS Code Settings UI filtered to this extension Command palette, command list

Feature Details

Markdown Preview

The live preview renders your Markdown document in real time as you edit. By default, opening a .md file uses the extension's preview custom editor. Only one surface per file is kept open; switching modes closes the other.

To switch between preview and edit modes:

  • Use Preview Markdown from the editor title bar or command list when a Markdown text editor is active.
  • Use the pencil icon (Document Editor) for WYSIWYG editing. For source editing, choose Edit Markdown from the Explorer file context menu or command list.
  • Use the command list (Show AI Markdown Studio Commands) to switch modes from anywhere.

The preview supports:

  • Standard Markdown (headings, lists, links, images, bold, italic, etc.)
  • Fenced code blocks with syntax highlighting
  • Mermaid diagrams (```mermaid ``` blocks)
  • Mermaid diagram zoom in-place from the preview via an overlay viewer
  • Math equations ($inline$ and $$block$$)
  • Task lists, footnotes, and emoji
  • Local images resolved relative to the source file
  • Theme-aware styling with selectable document themes

Theme selection lives in Settings under the Theme Selection section. Community includes the bundled document themes only; custom theme folders are a Pro feature.

When a Markdown file declares document: presentation in front matter, the preview switches to a slide-based presentation viewer instead of the standard scrolling document preview. Files without that explicit front-matter value stay on the standard text preview path.

Preview-specific settings:

Setting Default Description
markdownAiStudio.previewPageWidth full Uses full width for standard Markdown preview pages by default. Set to readable to constrain the page to a centred readable column.
markdownAiStudio.documentPreviewTheme auto Selects the default document preview theme. Bundled options include light, light-modern-blue, dark, dark-aurora-noir, dark-modern-aurora, and night-sky. Can be overridden per file with the theme front matter field. Find it in Settings under Theme Selection.
markdownAiStudio.presentationContentOverflow scaleToFit Presentation previews fit overflowing slide content down to 60% by default; long code blocks are reduced locally first. Set to scroll to preserve scrolling instead.

Mermaid diagrams in the standard document preview include a zoom control. Use the on-diagram Zoom button or double-click the rendered diagram to open it in an overlay viewer. Inside the viewer, use +, -, Fit, or the keyboard shortcuts +, -, 0, and Esc.

Images use the same viewer in document and presentation previews. Hover an image and click Zoom, or focus an unlinked image and press Enter. Double-clicking an unlinked image also opens the viewer. Zoom, fit, mouse-wheel zoom, and pan work the same way as for Mermaid diagrams.

Presentation Preview

When the current Markdown file declares document: presentation in front matter, the preview switches into a slide-based presentation mode.

Presentation preview features include:

  • slide-by-slide navigation with previous and next controls
  • keyboard navigation with arrow keys, Page Up, Page Down, Home, and End
  • a collapsible filmstrip of slides for quick navigation
  • immersive fullscreen mode, toggled with the on-screen control or the F key
  • fixed-canvas scaling so fullscreen preserves the same slide composition you see in the smaller preview panel
  • overflow fitting through markdownAiStudio.presentationContentOverflow; scaleToFit is the default, reduces dense slide content to 60% when needed, and retains scrolling below that floor
  • template-aware layouts for supported slide types including cover, default, two-columns, image-right, image-center, side-banner, side-picture, default-side, table, table-legend, divider, section-divider, divider-b, divider-c, and thanks
  • speaker notes displayed below the active slide when notes are present

Presentation preview themes are bundled only in Community (black, galaxy, modern-blue). Custom presentation theme folders are available in Pro.

Use Esc to exit immersive mode.

The presentation preview follows the same Markdown structure used by AI Markdown Studio Pro's PPTX export:

  • top-level YAML front matter must include document: presentation, plus optional deck metadata like title, author, theme, and ratio
  • --- separates slides
  • <!--slide: template-name--> optionally overrides the renderer layout for a slide
  • <!--notes: ...--> and <!--speaker notes: ...--> comments become speaker notes for that slide

Table Formatting

The Format Markdown Tables command is available while editing Markdown source and automatically aligns all tables for consistent, readable formatting. If you want tables formatted automatically on save, enable markdownAiStudio.formatTablesOnSave in the settings.

  1. Open a .md file containing one or more Markdown tables.
  2. Run Format Markdown Tables from the Command Palette or the command list.
  3. All tables in the file are reformatted in place.

This command is also registered as a document formatter, so it can be invoked via Format Document (Shift+Alt+F) when a .md file is active.

Table Preview Layout

Document preview has two table layouts. Wide (the default) keeps each cell on one line and lets a table scroll horizontally when needed. Wrap fits the table to the preview width by wrapping cell text.

Set the resource-scoped markdownAiStudio.documentTableLayout setting to choose the default for a document. You can also use the control that appears over a preview table to switch that table between Wrap table text and Use wide table layout for the current preview session. Wide tables expose left and right scrolling controls when they overflow.

HTML Export

Run Export Markdown as HTML from the Command Palette or the command list to create an .html snapshot for sharing outside VS Code. It contains the complete Markdown snapshot, front matter, and comments, all of which recipients can inspect. The original file is not changed.

Linked Markdown and HTML images are embedded in the snapshot where possible; permitted remote images are downloaded during export. When a remote download fails, its link is retained and a warning is logged. Local image failures stop the export. Comments whose markers occur inside image syntax that needs rewriting must be moved or reattached first. Media, chart images, and custom theme resources are not all embedded, so the file is not guaranteed to be fully offline.

In a JavaScript-enabled browser, use the top-right menu in a document or the bottom bar in a presentation to Download Markdown with its existing comments and embedded images. Browser exports do not show or edit review comments; VS Code review remains available. The browser may prompt or cancel the download, and the page cannot confirm it was saved. Existing HTML exports retain their previous behavior.

The setting markdownAiStudio.allowRemoteResources controls remote image downloads and other resources. Linked images require network access and may be unavailable. When remote resources are disabled, the portable file blocks remote browser resources and warns if content is blocked. See the user guide for browser and resource limitations.

AI-Assisted Generation

When GitHub Copilot is configured in VS Code, AI Markdown Studio Community can create new Markdown documents or presentation decks from prompts. With the default markdownAiStudio.aiAccess: "ask" state, the Copilot-backed commands stay visible and the disclosure appears only when an extension-initiated model request actually tries to run. If markdownAiStudio.aiAccess is denied, those Copilot-backed commands hide again except for Enable AI Features....

AI actions are user-triggered and use models available through the user's VS Code/Copilot setup. markdownAiStudio.aiGenerationModel controls document and presentation workflows, including repairs; it defaults to claude-opus-5.5 and falls back to Opus 5.5, Sonnet 5.5, Luna, mini, and then other available Copilot models. markdownAiStudio.aiModel controls conversions and other AI actions, defaults to gpt-5.6-luna, and falls back to gpt-5.4-mini and then other available Copilot models. Fallbacks apply when models are unavailable or fail; generation reports when a fallback succeeds. Depending on the Copilot plan, requests may consume token quota or incur usage charges. The Enable AI Features... authorization notice explains this and requires the user to accept responsibility for those costs before AI features are enabled.

  • Generate Document (AI) creates a new Markdown document from a prompt.
  • Generate Presentation (AI) creates a new presentation-style Markdown deck from a prompt. It is also available without Copilot, or after Copilot access is denied: it copies the same complete MPS prompt locally for use in Claude, Codex, or another assistant.

Use Enable AI Features... if you need to review or re-enable the AI data-sharing notice, or change markdownAiStudio.aiAccess directly in Settings.

MPS Agent Tools and Skills

Community contributes three Language Model Tools so a VS Code chat agent can complete the MPS authoring loop without requiring you to remember every presentation rule:

  • #markdownPresentationPrompt builds the canonical, workspace-aware MPS generation prompt. It is deterministic, does not call a model itself, and does not write files.
  • #validateMarkdownPresentation validates raw Markdown or a file URI inside the current workspace. It is read-only.
  • #saveMarkdownStudioFile saves approved Markdown inside the current workspace. VS Code asks for confirmation, parent-directory traversal is rejected, and existing files are never overwritten.

In a VS Code chat agent, ask for a presentation and allow the agent to chain prompt building, deck generation, validation, and saving. You can also reference any tool explicitly with the names above. The tools are local; the agent provider receives their inputs and results only as part of the chat request the user starts. Native Copilot generation still requires AI access.

Use Install Agent Skills in Workspace to install presentation and review skills for an agent in the current workspace:

  • GitHub Copilot installs a manual, tool-first skill at .github/skills/markdown-ai-studio-presentation-copilot/SKILL.md. It directs Copilot to build the canonical prompt, validate the deck, and confirm before saving.
  • Claude installs a complete standalone MPS skill at .claude/skills/markdown-ai-studio-presentation/SKILL.md.
  • Codex in VS Code installs that standalone skill at .agents/skills/markdown-ai-studio-presentation/SKILL.md.

The command also installs revise-from-comments/SKILL.md under the selected agent's skills directory. Existing skills are not overwritten; a missing skill is installed even if the other already exists. In Claude Code, invoke /revise-from-comments and identify the Markdown file. The extension's Revise from Comments command opens VS Code Chat rather than the separate Claude Code extension.

The standalone skill contains the presentation syntax and authoring rules, so it works with agents that cannot call extension tools. The Copilot skill is manually invoked, so it does not replace normal Copilot tool selection. Generate Presentation (AI) always offers a no-tool fallback: its copied prompt contains the same front matter, slide, layout, notes, image, and validation guidance needed to create a valid MPS deck.

AI Paste to Markdown

Use Paste as New Markdown File to turn clipboard text into a new Markdown file. This follows the same AI consent workflow as document generation: it is visible when Copilot is configured unless markdownAiStudio.aiAccess is denied, and it prompts on first real AI use while the state is ask.

Basic DOCX Export

Use Export Markdown as DOCX (Basic) to save the current Markdown file as a DOCX document. This is the Community DOCX path; AI Markdown Studio Pro provides the higher-fidelity DOCX export workflow.

Command List

The Show AI Markdown Studio Commands action is available from the editor title bar when a Markdown file is open.

Use it as a single entry point to:

  • open the preview
  • edit the current Markdown file
  • toggle front matter when the active preview has front matter
  • format tables
  • generate a document or presentation with AI
  • export HTML
  • export basic DOCX
  • enable AI features
  • open extension settings

When a compatible feature extension such as AI Markdown Studio Pro is installed, its registered commands appear in the same launcher, so Pro features look integrated without Community depending on Pro.

Security

Security & Privacy Notice: This extension renders and exports Markdown content, including embedded HTML, images, and diagrams. Untrusted Markdown may reference remote or local resources. If AI features are enabled, user-supplied prompts or clipboard content may also be sent to the GitHub Copilot service already configured in VS Code. See below for safe usage and risk-mitigation guidance.

Risk mitigation:

  • For privacy-sensitive or secure environments, set markdownAiStudio.allowRemoteResources to false to prevent outbound network requests for remote resources.
  • Avoid opening Markdown files from untrusted sources, as they may reference local files or remote resources.
  • The extension does not collect or transmit user data on its own. AI features stay locked until the user explicitly enables them and accepts that AI requests use the GitHub Copilot service already configured in VS Code.
  • Rendered and exported documents may include content from referenced resources.
  • HTML sanitization and a restrictive webview Content Security Policy (CSP) are applied to reduce XSS and script-injection risks. Mermaid runs in securityLevel: 'strict' mode.
  • If you suspect a security issue, use the private reporting route in Support, not a public issue.

See security and privacy for data handling, remote resources, and the private vulnerability reporting route. For the detailed, point-in-time assessment, see the Community security review.

AI Markdown Studio Pro

AI Markdown Studio Community is the open-source core. AI Markdown Studio Pro extends Community with advanced, proprietary features:

  • AI-assisted Convert to Markdown and AI theme generation
  • Adds PDF and PPTX export; Improved DOCX export.
  • Corporate PowerPoint template-backed export with manifest inference/validation/generation and placeholder mapping
  • Additional GitHub Copilot document/theme agent tools and prompt builders

Pro is packaged as a standalone extension built from a pinned Community revision plus a private Pro overlay, and it consumes Community's public CommunityApiV2 surface internally. Installing Pro therefore gives you the complete AI Markdown Studio experience without a separate Community install. Community remains MIT-licensed; Pro features and assets are governed by the AI Markdown Studio Pro EULA, and nothing in that EULA limits the rights granted under the MIT License for Community components.

Disclaimer

This software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software. See the LICENSE file for more details.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments & Third-Party Licenses

This extension is built on the following open-source libraries:

  • markdown-it (MIT License)
  • markdown-it-anchor (MIT License)
  • markdown-it-emoji (MIT License)
  • markdown-it-footnote (MIT License)
  • markdown-it-task-lists (ISC License)
  • markdown-it-texmath (MIT License)
  • mermaid (MIT License)
  • sanitize-html (MIT License)
  • DOMPurify (Apache-2.0 OR MPL-2.0)
  • highlight.js (BSD 3-Clause License)
  • katex (MIT License)
  • html-to-docx (MIT License)
  • jsdom (MIT License)
  • yaml (ISC License)
  • Inter, Fraunces, and JetBrains Mono fonts (SIL Open Font License 1.1)

All libraries are used in accordance with their license terms. See THIRD_PARTY_NOTICES.md and package-lock.json for the authoritative dependency and version list. Bundled font license texts are distributed under packages/md-preview-web/assets/fonts.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft