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