Add JSON as manually supported format.
This commit is contained in:
parent
5271e0f7e7
commit
a72a08f7a2
@ -28,6 +28,7 @@ function formatByName(name) {
|
|||||||
yml: yamlFormatter,
|
yml: yamlFormatter,
|
||||||
yaml: yamlFormatter,
|
yaml: yamlFormatter,
|
||||||
toml: tomlFormatter,
|
toml: tomlFormatter,
|
||||||
|
json: jsonFormatter,
|
||||||
frontmatter: FrontmatterFormatter,
|
frontmatter: FrontmatterFormatter,
|
||||||
}[name] || FrontmatterFormatter;
|
}[name] || FrontmatterFormatter;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user