Skip to content

Commit f3452ed

Browse files
ubituxFeel-ix-343
authored andcommitted
config: set {tags,references}_in_codeblocks to false by default
According to the CommonMark specifications, code blocks content should be treated as literal text.
1 parent 8fd2af7 commit f3452ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/Markdown Oxide Docs/Configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ unresolved_diagnostics = true
2626
semantic_tokens = true
2727

2828
# Resolve tags in code blocks
29-
tags_in_codeblocks = true
29+
tags_in_codeblocks = false
3030
# Resolve references in code blocks
31-
references_in_codeblocks = true
31+
references_in_codeblocks = false
3232

3333
# The folder for new files to be created in; this is relevant for the code action that creates
3434
# from an unresolved link. If not specified, it will import from your obsidian config option titled

src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ impl Settings {
7676
.set_default("unresolved_diagnostics", true)?
7777
.set_default("title_headings", true)?
7878
.set_default("semantic_tokens", true)?
79-
.set_default("tags_in_codeblocks", true)?
80-
.set_default("references_in_codeblocks", true)?
79+
.set_default("tags_in_codeblocks", false)?
80+
.set_default("references_in_codeblocks", false)?
8181
.set_default("include_md_extension_md_link", false)?
8282
.set_default("include_md_extension_wikilink", false)?
8383
.set_default("hover", true)?

0 commit comments

Comments
 (0)