Add JSON as manually supported format.

This commit is contained in:
Caleb 2017-11-18 08:17:49 -07:00 committed by Shawn Erquhart
parent 5271e0f7e7
commit a72a08f7a2

View File

@ -28,6 +28,7 @@ function formatByName(name) {
yml: yamlFormatter,
yaml: yamlFormatter,
toml: tomlFormatter,
json: jsonFormatter,
frontmatter: FrontmatterFormatter,
}[name] || FrontmatterFormatter;
}