Fix TOML files not being saved with correct file extension.
This commit is contained in:
parent
d984113b98
commit
2c19c221e7
@ -29,6 +29,7 @@ const collections = (state = null, action) => {
|
|||||||
const formatToExtension = format => ({
|
const formatToExtension = format => ({
|
||||||
markdown: 'md',
|
markdown: 'md',
|
||||||
yaml: 'yml',
|
yaml: 'yml',
|
||||||
|
toml: 'toml',
|
||||||
json: 'json',
|
json: 'json',
|
||||||
html: 'html',
|
html: 'html',
|
||||||
}[format]);
|
}[format]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user