Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>MD Color – Markdown AccentNew to Visual Studio Code? Get it now.
MD Color – Markdown Accent

MD Color – Markdown Accent

Leo

|
10 installs
| (2) | Free
Calm, modern colors for Markdown: a styled preview with GitHub-style callouts, rounded tables, task lists and labeled code blocks, plus heading and syntax highlighting in the editor. Light and dark themes.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MD Color – Markdown Accent

Calm, modern colors for Markdown in VS Code — in the preview and right in the editor. Body text stays neutral and color is used only as an accent, so long documents stay easy on the eyes. Follows your light or dark theme automatically.

English · Tiếng Việt

Dark theme preview with the soft spectrum palette

Features

Preview (Ctrl+Shift+V)

  • H1 with a colored side bar, H2 with a thin underline, colored H3.
  • GitHub-style callouts (> [!NOTE], [!TIP], [!IMPORTANT], [!WARNING], [!CAUTION]) become rounded boxes with an icon and a title.
  • Code blocks get a header with a language dot, the file name (```ts title="src/app.ts"), a friendly language name (C#, TypeScript, SQL…) and a Copy button.
  • Line numbers with ```ts showLineNumbers, highlight lines with ```ts {2,4-6}, and diff blocks get green/red backgrounds for added/removed lines.
  • Fences without a language are detected automatically (C#, TypeScript, JavaScript, Python, SQL, JSON, Shell, PowerShell, HTML, XML, CSS, YAML), marked auto, and still syntax highlighted.
  • A soft syntax palette for light and dark themes, with extra coloring of class and function names for C#, Java, TypeScript, Go and other C-like languages. Long lines scroll instead of wrapping, so indentation is preserved.
  • Rounded tables with a tinted header and striped rows, task lists with real checkboxes.
  • Nicer <kbd> keys, collapsible <details> blocks and footnotes.
  • A floating table of contents built from H1–H3: pinned on the right in wide windows, a button in narrow ones, with the current section highlighted while you scroll.
  • Adjustable reading width and a clean print style (no copy buttons or TOC, code wraps).

GitHub-style callouts

Code blocks with language names, auto detection and syntax colors

Tables and code blocks in a light theme

Editor

  • Headings colored by level, # markers and ``` fence lines dimmed.
  • Quotes and callouts get a thin left border.
  • Code blocks get a very faint background; table headers are bold; inline code and links are colored.

Palettes

Option Description
spectrum (default) Soft spectrum: violet H1, blue H2, teal H3, pink code, blue tables and links
violet Violet only
blue Blue only
teal Teal only
orange Orange only

Switch quickly with MD Color: Choose accent color.

The four single-color palettes: violet, blue, teal, orange

Light theme with the soft spectrum palette

Commands (Ctrl+Shift+P)

Command What it does
MD Color: Toggle colors in preview Turn preview colors on or off
MD Color: Toggle colors in editor Turn editor colors on or off
MD Color: Choose accent color Pick a palette

Settings

Setting Default Meaning
mdColor.preview.enabled true Color the preview
mdColor.editor.enabled true Color the editor
mdColor.preview.width normal Text column width: narrow (720px), normal (880px), wide (1160px), full
mdColor.preview.toc true Floating table of contents (documents with 3+ headings)
mdColor.accent spectrum Palette shared by preview and editor
mdColor.language auto Language of callout titles, the copy button and messages: auto follows VS Code, en, vi
mdColor.editor.headingColors [] Custom H1–H6 colors in the editor, e.g. ["#ff6b6b", "#ffa94d"]
mdColor.editor.lineBackground false Faint background for H1/H2 lines, callouts and striped table rows in the editor

Callout example

> [!NOTE]
> Extra information for the reader.

> [!WARNING]
> This action is hard to undo.

Code block example

```ts title="src/price.ts"
export const getChangePercent = (price: number, reference: number): number => {
  return ((price - reference) / reference) * 100;
};
```

Requirements

VS Code 1.90 or newer. Also works in Restricted Mode (untrusted workspaces). The extension only changes how Markdown looks and never sends data anywhere.

License

MIT

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