html - Sublime VS Code asp.net 格式不能用作 Visual Studio 格式选择
问题描述
Visual Code 是 Visual Studio 的一部分,但没有一个格式化插件在 vscode 或 Sublime 中作为先决条件运行良好。
我附上了一些样品。请让我知道我该如何实现?
前 :
<div class="col-12 text-center">
<table style="
width: 600px;
margin: 0 auto;
margin: 2em auto;
" border="1">
<tbody>
<tr>
<td colspan="2">
<h2 style="
padding: 0.5em;
">Map Legend </h2>
</td>
</tr>
之后(格式后我需要什么):
<div class="row">
<div class="col-12 text-center">
<table style="width: 600px; margin: 0 auto; margin: 2em auto;"
border="1">
<tbody>
<tr>
<td colspan="2">
<h2 style="padding: 0.5em;">Map Legend </h2>
</td>
</tr>
解决方案
推荐阅读
- android - 无法在工作配置文件模式下以编程方式在 android 7 上安装 apk(未知来源)
- swift - Swift 协议和通用方法列表
- firebase - 如果根据初始值更改 ifelse 更新数据,则颤振文本表单字段更新数据
- email - 无需电子邮件确认即可登录 GitLab 帐户
- sql-server - 用于获取会计周数的动态 Pivot SQL 查询
- html - 为什么 Adobe XD 中的 100 像素比网站(Safari、Google Chrome 等)上的小?
- python - 遍历多个 Json 文件并将其添加到字典中
- python - 有没有办法在python中使用正则表达式找到完全匹配而不是子字符串匹配?
- flutter - 使用 Agora SDK 颤振:锁定屏幕 1 分钟后无法收听音频
- azure - 在将 nsg 流日志传输到 Azure 中不同订阅中的存储帐户时,在 Powershell 中出现“错误请求”错误