Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>html-in-markdown-formatNew to Visual Studio Code? Get it now.
html-in-markdown-format

html-in-markdown-format

dadigua

|
7 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

HTML in Markdown Format

一个VS Code扩展,用于在Markdown文件中格式化HTML代码。

功能特性

  • 在Markdown文件中格式化HTML代码
  • 支持选中部分格式化或整个文档格式化
  • 使用htmlfy库进行HTML美化
  • 保持原有的Markdown结构不变

如何使用

  1. 打开一个Markdown文件
  2. 选中需要格式化的HTML代码(可选,如果不选中则格式化整个文档)
  3. 按下 Ctrl+Shift+P(Windows/Linux)或 Cmd+Shift+P(macOS)打开命令面板
  4. 输入并选择 "Format HTML" 命令
  5. HTML代码将被自动格式化

要求

  • Visual Studio Code 1.100.0 或更高版本

扩展设置

此扩展当前不添加任何VS Code设置。

已知问题

目前没有已知问题。

发布记录

0.0.1

  • 初始版本
  • 基本的HTML格式化功能

享受使用!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft