Skip to content

Commit 8bd41b9

Browse files
authored
fix: format JSONC code blocks as such, not JSON (#144)
1 parent fb6ad43 commit 8bd41b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/wasm_plugin.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ impl SyncPluginHandler<Configuration> for MarkdownPluginHandler {
104104
"tsx" => Some("tsx"),
105105
"javascript" | "js" => Some("js"),
106106
"jsx" => Some("jsx"),
107-
"json" | "jsonc" => Some("json"),
107+
"json" => Some("json"),
108+
"jsonc" => Some("jsonc"),
108109
"rust" | "rs" => Some("rs"),
109110
"csharp" | "cs" => Some("cs"),
110111
"visualbasic" | "vb" => Some("vb"),

0 commit comments

Comments
 (0)