Skip to content
项目

zaaack/vscode-markdown-editor

在 GitHub 查看

关于

一个可将 VS Code 变成功能完整的所见即所得 Markdown 编辑器的扩展

效率与自动化

这些数字如何统计

可以做什么

  • What You See Is What You Get (WYSIWYG)
  • Auto sync changes between the VSCode editor and webview
  • Copy markdown/html
  • Uploaded/pasted/drag-dropped images will be auto-saved to the assets folder

实测星标增长

24小时
-1
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Markdown Editor — A full-featured WYSIWYG editor for markdown

badge_title

Demo

demo

Features

  1. What You See Is What You Get (WYSIWYG)
  2. Auto sync changes between the VSCode editor and webview
  3. Copy markdown/html
  4. Uploaded/pasted/drag-dropped images will be auto-saved to the assets folder
  5. Multi-theme support
  6. Shortcut keys
  7. Multiple editting modes: instant Rendering mode (Recommand!) / WYSIWYG mode / split screen mode
  8. Markdown extensions
  9. Multiple graph support including KaTeX / Mermaid / Graphviz / ECharts / abc.js(notatioan) / ...
  10. For more usage please see vditor

Install

https://marketplace.visualstudio.com/items?itemName=zaaack.markdown-editor

Supported syntax

demo article

Usage

1. Command mode in markdown file

  • open a markdown file
  • type cmd-shift-p to enter command mode
  • type markdown-editor: Open with markdown editor

2. Key bindings

  • open a markdown file
  • type ctrl+shift+alt+m for win or cmd+shift+alt+m for mac

3. Explorer Context menu

  • right click on markdown file
  • then click Open with markdown editor

4. Editor title context menu

  • right click on a opened markdown file's tab title
  • then click Open with markdown editor

5. Open With... and Set Default Editor

  • right click on a markdown file in Explorer
  • click Open With...
  • select Markdown Editor to open temporary
  • or click Configure default editor... and select Markdown Editor to set it as default

Custom CSS (custom layout and vditor personalization)

Edit your settings.json and add

"markdown-editor.customCss": "my custom css rules"

// Eg: "markdown-editor.customCss": ".vditor-ir pre.vditor-reset {line-height: 32px;padding-right: calc(100% - 800px) !important; margin-left: 100px;    font-family: system-ui !important;}"

Acknowledgement

License

MIT

Support

If you like this extension make sure to star the repo. I am always looking for new ideas and feedback. In addition, it is possible to donate via paypal.

探索相关项目

加载中…