mirror of
https://github.com/kdnk/obsidian-automatic-linker.git
synced 2026-07-22 12:00:30 +00:00
Why: - Markdown treats an opening fenced code block without a closing fence as code through the end of the document. - Automatic linking was still processing that content as normal text, which could turn code block contents into wiki links. What: - Extract fenced code blocks before heading, callout, table, and link replacement processing. - Preserve unmatched fenced blocks through EOF and restore them unchanged after replacement. - Add regression coverage for unclosed code blocks, including when heading protection is enabled. |
||
|---|---|---|
| .. | ||
| __mocks__ | ||
| __tests__ | ||
| exclude-links | ||
| remove-minimal-indent | ||
| replace-links | ||
| replace-url-with-title | ||
| replace-urls | ||
| settings | ||
| utils | ||
| frontmatter-utils.ts | ||
| main.ts | ||
| path-and-aliases.types.ts | ||
| plugin-compat.ts | ||
| trie.ts | ||
| update-editor.ts | ||