MA Markdown
English
MA Markdown is a WYSIWYG Markdown editor for Visual Studio Code. Read and edit Markdown documents directly in their rendered form.
Features
- WYSIWYG Markdown editing
- Headings, bold, italic, strikethrough, inline code, and links
- Bullet lists, ordered lists, and task lists
- Blockquotes, thematic breaks, and tables
- Multi-language code blocks with syntax highlighting
- Mermaid diagram previews
- Inline and block mathematical formulas
- Image paste and upload support; images are saved in an
assets folder next to the document
- Floating table of contents with section navigation and active-section highlighting
- Quick heading-level and list-type changes for selected text
- Classic, GitHub, and IntelliJ IDEA New UI Dark-inspired themes
- Custom theme CSS loaded from the workspace
- English and Chinese user interfaces
- Synchronization with external document changes
- Switch to VS Code's default text editor to view or edit Markdown source at any time
Usage
Open a .md file and select MA Markdown as its editor.
To view or edit the source, select VS Code's default text editor from the editor selection menu.
In an empty paragraph, type / or click the plus button beside the paragraph to insert images, code blocks, tables, task lists, or mathematical formulas.
Settings
ma-markdown.theme: Select classic, github, or idea
ma-markdown.customThemeCssPath: Specify a custom theme CSS file relative to the workspace root
Reopen the Markdown editor after changing the theme setting.
中文
MA Markdown 是一款面向 Visual Studio Code 的所见即所得 Markdown 编辑器,可直接在渲染后的文档中阅读和编辑内容。
功能
- 所见即所得 Markdown 编辑
- 标题、粗体、斜体、删除线、行内代码和链接
- 无序列表、有序列表和任务列表
- 引用、分隔线和表格
- 多语言代码块与语法高亮
- Mermaid 图表预览
- 行内公式与块级数学公式
- 图片粘贴与上传,图片保存在文档旁的
assets 目录
- 右上角浮动目录,支持章节定位和当前章节高亮
- 选中文本后可快速调整标题级别和列表类型
- 支持 Classic、GitHub 和 IntelliJ IDEA New UI Dark 风格主题
- 支持加载工作区中的自定义主题 CSS
- 支持中英文界面
- 与外部文件修改保持同步
- 可随时使用 VS Code 默认文本编辑器查看和编辑 Markdown 源码
使用
打开 .md 文件时,选择 MA Markdown 作为编辑器。
需要查看或编辑源码时,在编辑器选择菜单中切换到 VS Code 默认文本编辑器。
在空白段落输入 /,或点击段落旁的加号,可插入图片、代码块、表格、任务列表和数学公式。
设置
ma-markdown.theme:选择内置主题,可选 classic、github 或 idea
ma-markdown.customThemeCssPath:指定相对于工作区根目录的自定义主题 CSS 文件
修改主题设置后,请重新打开 Markdown 编辑器。
License
Apache License 2.0
Copyright (c) 2026 majj (majj888@foxmail.com, https://majingjing.cn). This project is distributed by majj.
You may use, modify, and redistribute this extension, including for commercial use and in closed-source derivative works, subject to the following attribution requirements:
- Include the complete license text in the
LICENSE file with copies or derivative works.
- Retain the attribution in the
NOTICE file and state that the project originates from MA Markdown (majj).
- Add prominent notices to files that you modify.
This project is provided "AS IS", without warranties or conditions of any kind. See the full terms in the Apache License 2.0.