#218 - Added MDX support for template and content creation

This commit is contained in:
Elio Struyf
2022-01-04 11:51:11 +01:00
parent 504658d87a
commit bb980b4afe
9 changed files with 47 additions and 9 deletions
+19
View File
@@ -97,6 +97,16 @@
"markdownDescription": "Specify if you want to automatically update the modified date of your article/page. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.content.autoupdatedate)",
"scope": "Content"
},
"frontMatter.content.defaultFileType": {
"type": "string",
"default": "md",
"enum": [
"md",
"mdx"
],
"markdownDescription": "Specify the default file type for the content to create. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.content.defaultfiletype)",
"scope": "Content"
},
"frontMatter.content.defaultSorting": {
"type": "string",
"default": "",
@@ -428,6 +438,15 @@
"type": "string",
"description": "Title to show in the UI"
},
"fileType": {
"type": "string",
"default": "md",
"enum": [
"md",
"mdx"
],
"description": "Specifies the type of content you want to create. Default: `md`"
},
"choices": {
"type": "array",
"description": "Define your choices",