Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] 支持 Markdown 中的 ![[wikilink]] 嵌入语法 #226

Open
AsakawaP opened this issue Nov 25, 2024 · 0 comments
Open

Comments

@AsakawaP
Copy link

AsakawaP commented Nov 25, 2024

问题说明

在 Obsidian 等基于 Markdown 的常见双链笔记工具中,除了 [[wikilink]] 语法链接 (经检索,已在 #61 正确支持) ,也允许使用形如 ![[文件名]] 的语法在当前笔记中嵌入其他笔记 (的一部分)/图片文件,详见:插入文件 - Obsidian 中文帮助

当前发现 AutoCorrect 会将紧接中文/日文字符开始的嵌入链接视为需要格式化的文本。但这些链接不应该被格式化,这会导致链接失效。

环境

  • Windows 10
  • VSCode 1.95.3
  • AutoCorrect for VSCode v2.6.4

需求

在 Markdown 文件中不格式化 ![[wikilink]]

可复现示例

- ![[CJ字符.にほんご-中文.汉字]]
+ ![[CJ 字符。にほんご - 中文。汉字]]

- ![[软件.编辑器.vscode.扩展-必装.autocorrect]]
+ ![[软件。编辑器.vscode.扩展 - 必装.autocorrect]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant