【发布时间】:2020-04-16 07:19:48
【问题描述】:
我需要让 Prettier 将 .tpl 文件格式化为 HTML 格式。 I've found on GitHub这段代码谁来做:
overrides: [
{
files: '*.html.tpl',
options: { parser: 'html' },
},
],
我应该如何实现它?
【问题讨论】:
-
这里是如何配置你的更漂亮的:prettier.io/docs/en/configuration.html
-
谢谢,我读了它,但不明白我应该把我的配置文件放在哪里?
标签: html visual-studio-code prettier