Mitamama — WYSIWYG Markdown Editor

Edit Markdown like a Word document, right in VS Code.
Install from the Visual Studio Marketplace, or search for "Mitamama" in the Extensions view of VS Code.
Mitamama comes from the Japanese mitamama (見たまま), "just as you see it": the Japanese way of saying WYSIWYG (What You See Is What You Get). You write in the finished look, without thinking about the syntax, and the file stays plain .md.

Features
- Edit in the rendered view: headings, lists, task lists, tables, links, images, code blocks, footnotes and math
- Mermaid diagrams: edit the source and see the diagram right away, open it in its own tab with pan and zoom, or copy it as a PNG image
- Diffs in one view: changes in Source Control are highlighted in place, and you can keep editing
- Front matter: YAML / TOML front matter shows as its own block that you edit as is
- Images: paste or drop an image to save it in a folder next to your Markdown file (
img by default)
- Follows your theme: matches your VS Code color theme, or switch to a GitHub-style look
- English and Japanese: menus and messages follow your VS Code display language
Getting Started
Open a .md file and switch to Mitamama in any of these ways:
- Click the book icon at the top right of the editor
- Run Mitamama: Open in WYSIWYG Editor from the Command Palette
- Right-click the file in the Explorer
- Right-click the editor tab → Reopen Editor With... → Mitamama
Note: The first time you edit a file, the syntax of the whole file is normalized (for example, - bullets become *). Your content is never lost, only how it is written. Just opening a file does not change it.
Make it the default editor
Right-click a .md file → Reopen Editor With... → Configure default editor for '*.md'... → Mitamama, or add this to your settings.json:
"workbench.editorAssociations": {
"*.md": "mitamama.editor"
}
Add "*.markdown" the same way to cover .markdown files too.
Tips
- Line break inside a paragraph:
Shift+Enter or Alt+Enter (Option+Enter on macOS). It is saved as a trailing \, or as <br> in table cells and headings.
- Page breaks (PDF export and printing): insert one from the slash menu (
/) → Advanced → Page break. It is saved as <div style="break-before: page;"></div>. An empty div with page-break-after: always also works. Put it on its own line with blank lines around it; inside lists, quotes and tables it stays as text.
- Links:
Cmd+Click (Ctrl+Click on Windows / Linux) to open. Other Markdown files open in Mitamama.
- Dollar signs:
$...$ and $$...$$ are treated as math. To write amounts like $100, escape them as \$100.
- Front matter: insert it from the slash menu (
/) → Advanced → Front Matter.
- Diffs: move between changes with the ↑ / ↓ buttons in the title bar, or
Shift+Alt+F5 / Alt+F5.
Settings
You can change these in Settings. The style, mermaid and image folder settings are also in the menu at the top right of the editor.
| Setting |
Description |
Default |
mitamama.previewStyle |
Color style: default (follows your theme) or github |
default |
mitamama.mermaidLook |
Look of mermaid diagrams: classic, handDrawn or neo |
classic |
mitamama.mermaidLayout |
Layout engine: dagre (curved edges) or elk (right-angled edges) |
dagre |
mitamama.mermaidCopyTheme |
Colors when copying a diagram as an image: light, dark or editor |
light |
mitamama.imageFolder |
Folder for pasted images, relative to the Markdown file |
img |
mitamama.html.colorMode |
Colors of exported HTML files: light (white background), dark or editor (same as your VS Code color theme) |
light |
mitamama.pdf.colorMode |
Colors of exported PDFs: light (white background), dark or editor (same as your VS Code color theme) |
light |
mitamama.pdf.pageSize |
Paper size of exported PDFs: A4 or Letter |
A4 |
mitamama.pdf.browserPath |
Path to the Microsoft Edge, Google Chrome or Chromium used to export PDFs. Leave empty to find one automatically |
empty |
License
MIT