huacnlee / autocorrect

A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuations between CJK (Chinese, Japanese, Korean).
https://huacnlee.github.io/autocorrect
MIT License
894 stars 31 forks source link

请求支持 `.qmd` 文件格式 #184

Closed TomBener closed 4 months ago

TomBener commented 5 months ago

.qmdQuarto (Repo) 的文件扩展名,是基于 Markdown 的一种变体,二者基本上差不多,希望 AutoCorrect 支持处理这种文件格式,非常感谢。

huacnlee commented 4 months ago

你可以修改 .autocorrectrc 添加 fileTypesqmd 映射到 markdown 上来支持。

fileTypes:
  qmd: markdown

由于这个不是流行的类型,所以暂时不考虑纳入默认的 fileTypes 里面,你有需要可以修改配置来支持。

TomBener commented 4 months ago

好的,非常感谢。