问题描述
Atom 有一个名为 spell-check
的包。使用选项 excludedScopes
,我们可以定义要排除的语言(例如 LaTeX 代码)。
问题
有没有办法定义自己要排除的模式?
示例
我正在使用 Hugo 从 .md 文件生成 .html 文件。我的 Markdown 文件中有很多 Hugo shortcodes,如下所示:
{{% mdshortcode %}}Stuff to `process` in the *center*.{{% /mdshortcode %}}
{{< highlight go >}} A bunch of code here {{< /highlight >}}
如何从拼写检查中排除这些短代码?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)