mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-03-28 17:42:40 +01:00
1177 lines
42 KiB
JSON
1177 lines
42 KiB
JSON
{
|
||
"name": "vscode-front-matter-beta",
|
||
"displayName": "Front Matter",
|
||
"description": "An essential Visual Studio Code extension when you want to manage the markdown pages of your static site like: Hugo, Jekyll, Hexo, NextJs, Gatsby, and many more...",
|
||
"icon": "assets/frontmatter-teal-128x128.png",
|
||
"version": "5.7.0",
|
||
"preview": false,
|
||
"publisher": "eliostruyf",
|
||
"galleryBanner": {
|
||
"color": "#0e131f",
|
||
"theme": "dark"
|
||
},
|
||
"badges": [
|
||
{
|
||
"description": "version",
|
||
"url": "https://img.shields.io/github/package-json/v/estruyf/vscode-front-matter?color=green&label=vscode-front-matter&style=flat-square",
|
||
"href": "https://github.com/estruyf/vscode-front-matter"
|
||
},
|
||
{
|
||
"description": "Buy me a coffee",
|
||
"url": "https://img.shields.io/badge/Buy%20me%20a%20coffee-€%203-blue?logo=buy-me-a-coffee&style=flat-square",
|
||
"href": "https://www.buymeacoffee.com/zMeFRy9"
|
||
}
|
||
],
|
||
"engines": {
|
||
"vscode": "^1.51.0"
|
||
},
|
||
"categories": [
|
||
"Other"
|
||
],
|
||
"keywords": [
|
||
"Front Matter",
|
||
"CMS",
|
||
"Markdown",
|
||
"Taxonomy"
|
||
],
|
||
"license": "MIT",
|
||
"author": "Elio Struyf <elio@struyfconsulting.be> (https://www.eliostruyf.com)",
|
||
"homepage": "https://frontmatter.codes",
|
||
"bugs": {
|
||
"url": "https://github.com/estruyf/vscode-front-matter/issues"
|
||
},
|
||
"repository": {
|
||
"type": "git",
|
||
"url": "https://github.com/estruyf/vscode-front-matter"
|
||
},
|
||
"activationEvents": [
|
||
"*",
|
||
"onCommand:frontMatter.insertTags",
|
||
"onCommand:frontMatter.insertCategories",
|
||
"onCommand:frontMatter.createTag",
|
||
"onCommand:frontMatter.createCategory",
|
||
"onCommand:frontMatter.exportTaxonomy",
|
||
"onCommand:frontMatter.remap",
|
||
"onCommand:frontMatter.setLastModifiedDate",
|
||
"onCommand:frontMatter.generateSlug",
|
||
"onCommand:frontMatter.createFromTemplate",
|
||
"onCommand:frontMatter.registerFolder",
|
||
"onCommand:frontMatter.unregisterFolder",
|
||
"onCommand:frontMatter.createContent",
|
||
"onCommand:frontMatter.init",
|
||
"onCommand:frontMatter.collapseSections",
|
||
"onCommand:frontMatter.preview",
|
||
"onCommand:frontMatter.dashboard",
|
||
"onCommand:frontMatter.promoteSettings",
|
||
"onCommand:frontMatter.insertImage",
|
||
"onView:frontMatter.explorer"
|
||
],
|
||
"main": "./dist/extension",
|
||
"contributes": {
|
||
"viewsContainers": {
|
||
"activitybar": [
|
||
{
|
||
"id": "frontmatter-explorer",
|
||
"title": "FrontMatter",
|
||
"icon": "assets/frontmatter.svg"
|
||
}
|
||
]
|
||
},
|
||
"views": {
|
||
"frontmatter-explorer": [
|
||
{
|
||
"id": "frontMatter.explorer",
|
||
"name": "FrontMatter",
|
||
"icon": "assets/frontmatter.svg",
|
||
"contextualTitle": "FrontMatter",
|
||
"type": "webview"
|
||
}
|
||
]
|
||
},
|
||
"configuration": {
|
||
"title": "Front Matter: use frontmatter.json for shared team settings",
|
||
"properties": {
|
||
"frontMatter.content.autoUpdateDate": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"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.defaultSorting": {
|
||
"type": "string",
|
||
"default": "",
|
||
"oneOf": [
|
||
{
|
||
"enum": [
|
||
"LastModifiedAsc",
|
||
"LastModifiedDesc",
|
||
"FileNameAsc",
|
||
"FileNameDesc"
|
||
]
|
||
},
|
||
{
|
||
"type": "string"
|
||
}
|
||
],
|
||
"markdownDescription": "Specify the default sorting option for the content dashboard. You can use one of the values from the enum or define your own ID. [Check in the docs](https://frontmatter.codes/docs/settings#frontMatter.content.sorting.default)",
|
||
"scope": "Content"
|
||
},
|
||
"frontMatter.content.draftField": {
|
||
"type": "object",
|
||
"markdownDescription": "Define the draft field you want to use to manage your content. [Check in the docs](https://frontmatter.codes/docs/settings#frontMatter.content.draftField)",
|
||
"default": {
|
||
"name": "draft",
|
||
"type": "boolean"
|
||
},
|
||
"properties": {
|
||
"type": {
|
||
"type": "string",
|
||
"enum": [
|
||
"boolean",
|
||
"choice"
|
||
],
|
||
"description": ""
|
||
},
|
||
"name": {
|
||
"type": "string",
|
||
"description": "Name of the field to use"
|
||
},
|
||
"choices": {
|
||
"type": "array",
|
||
"description": "List of choices for the field",
|
||
"items": {
|
||
"type": [
|
||
"string"
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"additionalProperties": false,
|
||
"required": [
|
||
"type",
|
||
"name"
|
||
],
|
||
"scope": "Content"
|
||
},
|
||
"frontMatter.content.fmHighlight": {
|
||
"type": "boolean",
|
||
"default": true,
|
||
"markdownDescription": "Specify if you want to highlight the Front Matter in the Markdown file. [Check in the docs](https://frontmatter.codes/docs/settings#frontMatter.content.fmhighlight)",
|
||
"scope": "Content"
|
||
},
|
||
"frontMatter.content.pageFolders": {
|
||
"type": "array",
|
||
"default": [],
|
||
"markdownDescription": "This array of folders defines where the extension can retrieve or create new pages. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.content.pagefolders)",
|
||
"items": {
|
||
"type": "object",
|
||
"properties": {
|
||
"title": {
|
||
"type": "string",
|
||
"description": "Name of the folder"
|
||
},
|
||
"path": {
|
||
"type": "string",
|
||
"description": "Path of the folder"
|
||
},
|
||
"excludeSubdir": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "Exclude sub-directories"
|
||
}
|
||
},
|
||
"additionalProperties": false,
|
||
"required": [
|
||
"title",
|
||
"path"
|
||
]
|
||
},
|
||
"scope": "Content"
|
||
},
|
||
"frontMatter.content.publicFolder": {
|
||
"type": "string",
|
||
"default": "",
|
||
"markdownDescription": "Specify the folder name where all your assets are located. For instance in Hugo this is the `static` folder. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.content.publicfolder)",
|
||
"scope": "Content"
|
||
},
|
||
"frontMatter.content.sorting": {
|
||
"type": "array",
|
||
"default": [],
|
||
"markdownDescription": "Define the sorting options for your dashboard content. [Check in the docs](https://frontmatter.codes/docs/settings#frontMatter.content.sorting)",
|
||
"items": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"type": "string",
|
||
"description": "The ID of the sorting option. This will be used for the storing the last used sorting option or the default option."
|
||
},
|
||
"title": {
|
||
"type": "string",
|
||
"description": "Name of the sorting label"
|
||
},
|
||
"name": {
|
||
"type": "string",
|
||
"description": "Name of the metadata field to sort by"
|
||
},
|
||
"order": {
|
||
"type": "string",
|
||
"enum": [
|
||
"asc",
|
||
"desc"
|
||
],
|
||
"description": "Order of the sorting"
|
||
},
|
||
"type": {
|
||
"type": "string",
|
||
"default": "string",
|
||
"enum": [
|
||
"string",
|
||
"date"
|
||
],
|
||
"description": "Type of the field value"
|
||
}
|
||
},
|
||
"additionalProperties": false,
|
||
"required": [
|
||
"title",
|
||
"name",
|
||
"order"
|
||
]
|
||
},
|
||
"scope": "Content"
|
||
},
|
||
"frontMatter.content.wysiwyg": {
|
||
"type": "boolean",
|
||
"default": true,
|
||
"markdownDescription": "Specifies if you want to enable/disable the What You See, Is What You Get (WYSIWYG) markdown controls. [Check in the docs](https://frontmatter.codes/docs/settings#frontMatter.content.wysiwyg)",
|
||
"scope": "Content"
|
||
},
|
||
"frontMatter.custom.scripts": {
|
||
"type": "array",
|
||
"default": [],
|
||
"markdownDescription": "Specify the path to a Node.js script to execute. The current file path will be provided as an argument. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.custom.scripts)",
|
||
"items": {
|
||
"type": "object",
|
||
"properties": {
|
||
"title": {
|
||
"type": "string",
|
||
"description": "Title you want to give to your script. Will be shown as the title of the button."
|
||
},
|
||
"script": {
|
||
"type": "string",
|
||
"description": "Path to the script to execute"
|
||
},
|
||
"nodeBin": {
|
||
"type": "string",
|
||
"description": "Path to the node executable. This is required when using NVM, so that there is no confusion of which node version to use."
|
||
},
|
||
"bulk": {
|
||
"type": "boolean",
|
||
"description": "Run the script for all content files"
|
||
},
|
||
"output": {
|
||
"type": "string",
|
||
"enum": [
|
||
"editor",
|
||
"notification"
|
||
],
|
||
"description": "Define where you want to output your script output. Default is a notification, but you can specify to show it in an editor panel."
|
||
},
|
||
"outputType": {
|
||
"type": "string",
|
||
"description": "The type of output for the editor panel. Can be used to change it to 'markdown' for example"
|
||
},
|
||
"type": {
|
||
"type": "string",
|
||
"default": "content",
|
||
"enum": [
|
||
"content",
|
||
"mediaFolder",
|
||
"mediaFile"
|
||
],
|
||
"description": "The type for which the script will be used."
|
||
}
|
||
},
|
||
"additionalProperties": false,
|
||
"required": [
|
||
"title",
|
||
"script"
|
||
]
|
||
},
|
||
"scope": "Custom scripts"
|
||
},
|
||
"frontMatter.dashboard.mediaSnippet": {
|
||
"type": "array",
|
||
"default": [],
|
||
"markdownDescription": "Specify the a snippet for your custom media insert markup. [Check in the docs](https://frontmatter.codes/docs/settings#frontMatter.dashboard.mediaSnippet)",
|
||
"items": {
|
||
"type": "string",
|
||
"description": "The parts of your snippet. Use `{mediaUrl}` as placeholder where the path of the image needs to be inserted."
|
||
},
|
||
"scope": "dashboard"
|
||
},
|
||
"frontMatter.dashboard.openOnStart": {
|
||
"type": [
|
||
"boolean",
|
||
"null"
|
||
],
|
||
"default": null,
|
||
"markdownDescription": "Specify if you want to open the dashboard when you start VS Code. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.dashboard.openonstart)",
|
||
"scope": "Dashboard"
|
||
},
|
||
"frontMatter.framework.id": {
|
||
"type": "string",
|
||
"default": "",
|
||
"markdownDescription": "Specify the ID of your static site generator or framework you are using for your website. [Check in the docs](https://frontmatter.codes/docs/settings#frontMatter.framework.id)"
|
||
},
|
||
"frontMatter.media.defaultSorting": {
|
||
"type": "string",
|
||
"default": "",
|
||
"enum": [
|
||
"LastModifiedAsc",
|
||
"LastModifiedDesc",
|
||
"FileNameAsc",
|
||
"FileNameDesc"
|
||
],
|
||
"markdownDescription": "Specify the default sorting option for the media dashboard. [Check in the docs](https://frontmatter.codes/docs/settings#frontMatter.media.sorting.default)",
|
||
"scope": "Content"
|
||
},
|
||
"frontMatter.panel.freeform": {
|
||
"type": "boolean",
|
||
"default": true,
|
||
"markdownDescription": "Specifies if you want to allow yourself from entering unknown tags/categories in the tag picker (when enabled, you will have the option to store them afterwards). Default: true. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.panel.freeform)",
|
||
"scope": "Panel"
|
||
},
|
||
"frontMatter.preview.host": {
|
||
"type": "string",
|
||
"default": "",
|
||
"markdownDescription": "Specify the host URL (example: http://localhost:1313) to be used when opening the preview. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.preview.host)",
|
||
"scope": "Site preview"
|
||
},
|
||
"frontMatter.preview.pathName": {
|
||
"type": "string",
|
||
"default": "",
|
||
"markdownDescription": "Specify the path you want to add after the host and before your slug. This can be used for instance to include the year/month like: `yyyy/MM`. The date will be generated based on the article its date field value. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.preview.pathname)",
|
||
"scope": "Site preview"
|
||
},
|
||
"frontMatter.site.baseURL": {
|
||
"type": "string",
|
||
"default": "",
|
||
"markdownDescription": "Specify the base URL of your site, this will be used for SEO checks. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.site.baseURL)",
|
||
"scope": "Site"
|
||
},
|
||
"frontMatter.taxonomy.alignFilename": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"markdownDescription": "Align the filename with the new slug when it gets generated. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.alignfilename)",
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.categories": {
|
||
"type": "array",
|
||
"markdownDescription": "Specifies the categories which can be used in the Front Matter. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.categories)",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.commaSeparatedFields": {
|
||
"type": "array",
|
||
"markdownDescription": "Specify the fields names that Front Matter should treat as a comma-separated array. [Check in the docs](https://frontmatter.codes/docs/settings#frontMatter.taxonomy.commaSeparatedFields)",
|
||
"items": {
|
||
"type": "string",
|
||
"description": "Name of the fields you want to use as comma-separated arrays."
|
||
},
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.contentTypes": {
|
||
"type": [
|
||
"array",
|
||
"null"
|
||
],
|
||
"markdownDescription": "Specify the type of contents you want to use for your articles/pages/etc. Make sure the `type` is correctly set in your front matter. [Check in the docs](https://frontmatter.codes/docs/settings#frontMatter.taxonomy.contentTypes)",
|
||
"items": {
|
||
"type": "object",
|
||
"description": "Define the content types you want to use in Front Matter.",
|
||
"properties": {
|
||
"name": {
|
||
"type": "string",
|
||
"description": "Define the type of field"
|
||
},
|
||
"fields": {
|
||
"type": "array",
|
||
"description": "Define the fields of the content type",
|
||
"items": {
|
||
"type": "object",
|
||
"description": "Define the content types you want to use in Front Matter.",
|
||
"properties": {
|
||
"type": {
|
||
"type": "string",
|
||
"enum": [
|
||
"string",
|
||
"number",
|
||
"datetime",
|
||
"boolean",
|
||
"image",
|
||
"choice",
|
||
"taxonomy",
|
||
"tags",
|
||
"categories",
|
||
"draft"
|
||
],
|
||
"description": "Define the type of field"
|
||
},
|
||
"name": {
|
||
"type": "string",
|
||
"description": "Name of the field to use"
|
||
},
|
||
"title": {
|
||
"type": "string",
|
||
"description": "Title to show in the UI"
|
||
},
|
||
"choices": {
|
||
"type": "array",
|
||
"description": "Define your choices",
|
||
"items": {
|
||
"type": [
|
||
"object",
|
||
"string"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"type": [
|
||
"null",
|
||
"string"
|
||
],
|
||
"description": "The choice ID"
|
||
},
|
||
"title": {
|
||
"type": "string",
|
||
"description": "The choice title"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"single": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "Is a single line field"
|
||
},
|
||
"multiple": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "Do you allow to select multiple values?"
|
||
},
|
||
"isPreviewImage": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "Specify if the image field can be used as preview. Be aware, you can only have one preview image per content type."
|
||
},
|
||
"hidden": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "Do you want to hide the field from the metadata section?"
|
||
},
|
||
"taxonomyId": {
|
||
"type": "string",
|
||
"default": "",
|
||
"description": "The ID of your taxonomy field"
|
||
}
|
||
},
|
||
"additionalProperties": false,
|
||
"required": [
|
||
"type",
|
||
"name"
|
||
],
|
||
"allOf": [
|
||
{
|
||
"if": {
|
||
"properties": {
|
||
"type": {
|
||
"const": "taxonomy"
|
||
}
|
||
}
|
||
},
|
||
"then": {
|
||
"required": [
|
||
"taxonomyId"
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"if": {
|
||
"properties": {
|
||
"type": {
|
||
"const": "choice"
|
||
}
|
||
}
|
||
},
|
||
"then": {
|
||
"required": [
|
||
"choices"
|
||
]
|
||
}
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"pageBundle": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "Specify if you want to create a folder when creating new content."
|
||
},
|
||
"previewPath": {
|
||
"type": [
|
||
"null",
|
||
"string"
|
||
],
|
||
"default": null,
|
||
"description": "Defines a custom preview path for the content type."
|
||
}
|
||
},
|
||
"additionalProperties": false,
|
||
"required": [
|
||
"name",
|
||
"fields"
|
||
]
|
||
},
|
||
"default": [
|
||
{
|
||
"name": "default",
|
||
"pageBundle": false,
|
||
"fields": [
|
||
{
|
||
"title": "Title",
|
||
"name": "title",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"title": "Description",
|
||
"name": "description",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"title": "Publishing date",
|
||
"name": "date",
|
||
"type": "datetime"
|
||
},
|
||
{
|
||
"title": "Content preview",
|
||
"name": "preview",
|
||
"type": "image"
|
||
},
|
||
{
|
||
"title": "Is in draft",
|
||
"name": "draft",
|
||
"type": "boolean"
|
||
},
|
||
{
|
||
"title": "Tags",
|
||
"name": "tags",
|
||
"type": "tags"
|
||
},
|
||
{
|
||
"title": "Categories",
|
||
"name": "categories",
|
||
"type": "categories"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.customTaxonomy": {
|
||
"type": "array",
|
||
"markdownDescription": "Specify the custom taxonomy field data. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.tags)",
|
||
"items": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"type": "string",
|
||
"description": "ID for your taxonomy field"
|
||
},
|
||
"options": {
|
||
"type": "array",
|
||
"description": "Options from which you can pick",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"additionalProperties": false,
|
||
"required": [
|
||
"id",
|
||
"options"
|
||
]
|
||
},
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.dateField": {
|
||
"type": "string",
|
||
"default": "date",
|
||
"markdownDescription": "This setting is used to define the publishing date field of your articles. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.datefield)"
|
||
},
|
||
"frontMatter.taxonomy.dateFormat": {
|
||
"type": "string",
|
||
"markdownDescription": "Specify the date format for your articles. Check [date-fns formating](https://date-fns.org/v2.0.1/docs/format) for more information. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.dateformat)",
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.frontMatterType": {
|
||
"type": "string",
|
||
"default": "YAML",
|
||
"enum": [
|
||
"YAML",
|
||
"TOML"
|
||
],
|
||
"markdownDescription": "Specify the type of Front Matter to use. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.frontmattertype)",
|
||
"enumDescriptions": [
|
||
"Specifies you want to use YAML markup for the front matter (default)",
|
||
"Specifies you want to use TOML markup for the front matter"
|
||
],
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.indentArrays": {
|
||
"type": "boolean",
|
||
"default": true,
|
||
"markdownDescription": "Specify if arrays in front matter are indented. Default: true. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.indentarrays)",
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.modifiedField": {
|
||
"type": "string",
|
||
"default": "lastmod",
|
||
"markdownDescription": "This setting is used to define the modified date field of your articles. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.modifiedfield)"
|
||
},
|
||
"frontMatter.taxonomy.noPropertyValueQuotes": {
|
||
"type": "array",
|
||
"default": [],
|
||
"markdownDescription": "Specify the properties from which quotes need to be removed. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.nopropertyvaluequotes)",
|
||
"items": {
|
||
"type": "string",
|
||
"description": "Name of the properties you want to remove quotes from."
|
||
},
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.seoContentLengh": {
|
||
"type": "number",
|
||
"default": 1760,
|
||
"markdownDescription": "Specifies the optimal minimum length for your articles. Between 1,760 words – 2,400 is the absolute ideal article length for SEO in 2021. (set to `-1` to turn it off). [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.seocontentlengh)",
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.seoDescriptionField": {
|
||
"type": "string",
|
||
"default": "description",
|
||
"markdownDescription": "Specifies the name of the SEO description field for your page. Default is 'description'. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.seodescriptionfield)",
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.seoDescriptionLength": {
|
||
"type": "number",
|
||
"default": 160,
|
||
"markdownDescription": "Specifies the optimal description length for SEO (set to `-1` to turn it off). [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.seodescriptionlength)",
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.seoSlugLength": {
|
||
"type": "number",
|
||
"default": 75,
|
||
"markdownDescription": "Specifies the optimal slug length for SEO (set to `-1` to turn it off). [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.seoSlugLength)",
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.seoTitleLength": {
|
||
"type": "number",
|
||
"default": 60,
|
||
"markdownDescription": "Specifies the optimal title length for SEO (set to `-1` to turn it off). [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.seotitlelength)",
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.slugPrefix": {
|
||
"type": "string",
|
||
"markdownDescription": "Specify a prefix for the slug. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.slugprefix)",
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.slugSuffix": {
|
||
"type": "string",
|
||
"markdownDescription": "Specify a suffix for the slug. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.slugsuffix)",
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.taxonomy.tags": {
|
||
"type": "array",
|
||
"markdownDescription": "Specifies the tags which can be used in the Front Matter. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.tags)",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"scope": "Taxonomy"
|
||
},
|
||
"frontMatter.templates.folder": {
|
||
"type": "string",
|
||
"default": ".frontmatter/templates",
|
||
"markdownDescription": "Specify the folder to use for your article templates. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.templates.folder)",
|
||
"scope": "Templates"
|
||
},
|
||
"frontMatter.templates.prefix": {
|
||
"type": "string",
|
||
"default": "yyyy-MM-dd",
|
||
"markdownDescription": "Specify the prefix you want to add for your new article filenames. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.templates.prefix)",
|
||
"scope": "Templates"
|
||
}
|
||
}
|
||
},
|
||
"commands": [
|
||
{
|
||
"command": "frontMatter.collapseSections",
|
||
"title": "Collapse sections",
|
||
"category": "Front matter",
|
||
"icon": {
|
||
"light": "assets/icons/close-light.svg",
|
||
"dark": "assets/icons/close-dark.svg"
|
||
}
|
||
},
|
||
{
|
||
"command": "frontMatter.createTemplate",
|
||
"title": "Create a template from current file",
|
||
"category": "Front matter"
|
||
},
|
||
{
|
||
"command": "frontMatter.createCategory",
|
||
"title": "Create category",
|
||
"category": "Front matter"
|
||
},
|
||
{
|
||
"command": "frontMatter.createTag",
|
||
"title": "Create tag",
|
||
"category": "Front matter"
|
||
},
|
||
{
|
||
"command": "frontMatter.exportTaxonomy",
|
||
"title": "Export all tags & categories to your settings",
|
||
"category": "Front matter"
|
||
},
|
||
{
|
||
"command": "frontMatter.createFromTemplate",
|
||
"title": "Front Matter: New article from template"
|
||
},
|
||
{
|
||
"command": "frontMatter.registerFolder",
|
||
"title": "Front Matter: Register folder"
|
||
},
|
||
{
|
||
"command": "frontMatter.unregisterFolder",
|
||
"title": "Front Matter: Unregister folder"
|
||
},
|
||
{
|
||
"command": "frontMatter.generateSlug",
|
||
"title": "Generate slug based on content title",
|
||
"category": "Front matter"
|
||
},
|
||
{
|
||
"command": "frontMatter.init",
|
||
"title": "Initialize project",
|
||
"category": "Front matter"
|
||
},
|
||
{
|
||
"command": "frontMatter.insertCategories",
|
||
"title": "Insert categories",
|
||
"category": "Front matter"
|
||
},
|
||
{
|
||
"command": "frontMatter.insertImage",
|
||
"title": "Insert image into your content",
|
||
"category": "Front matter",
|
||
"icon": {
|
||
"dark": "/assets/icons/media-dark.svg",
|
||
"light": "/assets/icons/media-light.svg"
|
||
}
|
||
},
|
||
{
|
||
"command": "frontMatter.insertTags",
|
||
"title": "Insert tags",
|
||
"category": "Front matter"
|
||
},
|
||
{
|
||
"command": "frontMatter.createContent",
|
||
"title": "Create new content from defined content type or template",
|
||
"category": "Front matter"
|
||
},
|
||
{
|
||
"command": "frontMatter.dashboard",
|
||
"title": "Open dashboard",
|
||
"category": "Front matter",
|
||
"icon": {
|
||
"dark": "/assets/icons/frontmatter-small-dark.svg",
|
||
"light": "/assets/icons/frontmatter-small-light.svg"
|
||
}
|
||
},
|
||
{
|
||
"command": "frontMatter.dashboard.close",
|
||
"title": "Close dashboard",
|
||
"category": "Front matter",
|
||
"icon": {
|
||
"dark": "/assets/icons/frontmatter-small-teal.svg",
|
||
"light": "/assets/icons/frontmatter-small-teal.svg"
|
||
}
|
||
},
|
||
{
|
||
"command": "frontMatter.preview",
|
||
"title": "Preview content",
|
||
"category": "Front matter"
|
||
},
|
||
{
|
||
"command": "frontMatter.promoteSettings",
|
||
"title": "Promote settings from local to team level",
|
||
"category": "Front matter"
|
||
},
|
||
{
|
||
"command": "frontMatter.remap",
|
||
"title": "Remap or remove tag/category in all articles",
|
||
"category": "Front matter"
|
||
},
|
||
{
|
||
"command": "frontMatter.setLastModifiedDate",
|
||
"title": "Set lastmod date",
|
||
"category": "Front matter"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.bold",
|
||
"title": "Bold",
|
||
"category": "Front matter",
|
||
"icon": {
|
||
"light": "assets/icons/bold-light.svg",
|
||
"dark": "assets/icons/bold-dark.svg"
|
||
}
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.italic",
|
||
"title": "Italic",
|
||
"category": "Front matter",
|
||
"icon": {
|
||
"light": "assets/icons/italic-light.svg",
|
||
"dark": "assets/icons/italic-dark.svg"
|
||
}
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.strikethrough",
|
||
"title": "Strikethrough",
|
||
"category": "Front matter",
|
||
"icon": {
|
||
"light": "assets/icons/strikethrough-light.svg",
|
||
"dark": "assets/icons/strikethrough-dark.svg"
|
||
}
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.code",
|
||
"title": "Code",
|
||
"category": "Front matter",
|
||
"icon": {
|
||
"light": "assets/icons/code-light.svg",
|
||
"dark": "assets/icons/code-dark.svg"
|
||
}
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.codeblock",
|
||
"title": "Codeblock",
|
||
"category": "Front matter",
|
||
"icon": {
|
||
"light": "assets/icons/codeblock-light.svg",
|
||
"dark": "assets/icons/codeblock-dark.svg"
|
||
}
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.blockquote",
|
||
"title": "Codeblock",
|
||
"category": "Front matter",
|
||
"icon": {
|
||
"light": "assets/icons/blockquote-light.svg",
|
||
"dark": "assets/icons/blockquote-dark.svg"
|
||
}
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.heading",
|
||
"title": "Heading",
|
||
"category": "Front matter",
|
||
"icon": {
|
||
"light": "assets/icons/heading-light.svg",
|
||
"dark": "assets/icons/heading-dark.svg"
|
||
}
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.unorderedlist",
|
||
"title": "Unordered list",
|
||
"category": "Front matter",
|
||
"icon": {
|
||
"light": "assets/icons/unordered-list-light.svg",
|
||
"dark": "assets/icons/unordered-list-dark.svg"
|
||
}
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.orderedlist",
|
||
"title": "Ordered list",
|
||
"category": "Front matter",
|
||
"icon": {
|
||
"light": "assets/icons/ordered-list-light.svg",
|
||
"dark": "assets/icons/ordered-list-dark.svg"
|
||
}
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.tasklist",
|
||
"title": "Task list",
|
||
"category": "Front matter"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.options",
|
||
"title": "Other markup options",
|
||
"category": "Front matter",
|
||
"icon": {
|
||
"light": "assets/icons/options-light.svg",
|
||
"dark": "assets/icons/options-dark.svg"
|
||
}
|
||
},
|
||
{
|
||
"command": "frontMatter.diagnostics",
|
||
"title": "Diagnostic logging",
|
||
"category": "Front matter"
|
||
}
|
||
],
|
||
"menus": {
|
||
"editor/title": [
|
||
{
|
||
"command": "frontMatter.markup.heading",
|
||
"group": "navigation@-132",
|
||
"when": "resourceLangId == markdown && frontMatter:markdown:wysiwyg"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.bold",
|
||
"group": "navigation@-131",
|
||
"when": "resourceLangId == markdown && frontMatter:markdown:wysiwyg"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.italic",
|
||
"group": "navigation@-130",
|
||
"when": "resourceLangId == markdown && frontMatter:markdown:wysiwyg"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.strikethrough",
|
||
"group": "navigation@-129",
|
||
"when": "resourceLangId == markdown && frontMatter:markdown:wysiwyg"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.blockquote",
|
||
"group": "navigation@-128",
|
||
"when": "resourceLangId == markdown && frontMatter:markdown:wysiwyg"
|
||
},
|
||
{
|
||
"command": "frontMatter.insertImage",
|
||
"group": "navigation@-127",
|
||
"when": "resourceLangId == markdown"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.options",
|
||
"group": "navigation@-126",
|
||
"when": "resourceLangId == markdown && frontMatter:markdown:wysiwyg"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.orderedlist",
|
||
"group": "1_markup@1",
|
||
"when": "resourceLangId == markdown && frontMatter:markdown:wysiwyg"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.unorderedlist",
|
||
"group": "1_markup@2",
|
||
"when": "resourceLangId == markdown && frontMatter:markdown:wysiwyg"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.tasklist",
|
||
"group": "1_markup@3",
|
||
"when": "resourceLangId == markdown && frontMatter:markdown:wysiwyg"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.code",
|
||
"group": "1_markup@4",
|
||
"when": "resourceLangId == markdown && frontMatter:markdown:wysiwyg"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.codeblock",
|
||
"group": "1_markup@5",
|
||
"when": "resourceLangId == markdown && frontMatter:markdown:wysiwyg"
|
||
},
|
||
{
|
||
"command": "frontMatter.dashboard",
|
||
"group": "navigation@-98",
|
||
"when": "frontMatter:enabled == true && frontMatter:dashboard:open == false"
|
||
},
|
||
{
|
||
"command": "frontMatter.dashboard.close",
|
||
"group": "navigation@-98",
|
||
"when": "frontMatter:enabled == true && frontMatter:dashboard:open == true"
|
||
}
|
||
],
|
||
"explorer/context": [
|
||
{
|
||
"command": "frontMatter.createFromTemplate",
|
||
"when": "explorerResourceIsFolder",
|
||
"group": "Front Matter@1"
|
||
},
|
||
{
|
||
"command": "frontMatter.registerFolder",
|
||
"when": "explorerResourceIsFolder",
|
||
"group": "Front Matter@2"
|
||
},
|
||
{
|
||
"command": "frontMatter.unregisterFolder",
|
||
"when": "explorerResourceIsFolder",
|
||
"group": "Front Matter@3"
|
||
}
|
||
],
|
||
"commandPalette": [
|
||
{
|
||
"command": "frontMatter.init",
|
||
"when": "frontMatterCanInit"
|
||
},
|
||
{
|
||
"command": "frontMatter.createTemplate",
|
||
"when": "!frontMatterCanInit"
|
||
},
|
||
{
|
||
"command": "frontMatter.preview",
|
||
"when": "frontMatterCanOpenPreview"
|
||
},
|
||
{
|
||
"command": "frontMatter.collapseSections",
|
||
"when": "false"
|
||
},
|
||
{
|
||
"command": "frontMatter.registerFolder",
|
||
"when": "false"
|
||
},
|
||
{
|
||
"command": "frontMatter.unregisterFolder",
|
||
"when": "false"
|
||
},
|
||
{
|
||
"command": "frontMatter.createFromTemplate",
|
||
"when": "false"
|
||
},
|
||
{
|
||
"command": "frontMatter.dashboard.close",
|
||
"when": "false"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.bold",
|
||
"when": "false"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.italic",
|
||
"when": "false"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.strikethrough",
|
||
"when": "false"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.code",
|
||
"when": "false"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.codeblock",
|
||
"when": "false"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.blockquote",
|
||
"when": "false"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.heading",
|
||
"when": "false"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.unorderedlist",
|
||
"when": "false"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.orderedlist",
|
||
"when": "false"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.tasklist",
|
||
"when": "false"
|
||
},
|
||
{
|
||
"command": "frontMatter.markup.options",
|
||
"when": "false"
|
||
}
|
||
],
|
||
"view/title": [
|
||
{
|
||
"command": "frontMatter.collapseSections",
|
||
"group": "navigation"
|
||
}
|
||
]
|
||
},
|
||
"grammars": [
|
||
{
|
||
"path": "./syntaxes/hugo.tmLanguage.json",
|
||
"scopeName": "frontmatter.markdown.hugo",
|
||
"injectTo": [
|
||
"text.html.markdown"
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"scripts": {
|
||
"vscode:prepublish": "npm run clean && webpack --mode production",
|
||
"build:ext": "npm run clean && webpack --mode development",
|
||
"dev:ext": "npm run clean && webpack --mode development --watch",
|
||
"test-compile": "tsc -p ./",
|
||
"clean": "rimraf dist",
|
||
"start:site": "cd ./docs && npm run dev"
|
||
},
|
||
"devDependencies": {
|
||
"@bendera/vscode-webview-elements": "0.6.2",
|
||
"@estruyf/vscode": "0.0.2",
|
||
"@headlessui/react": "^1.4.1",
|
||
"@heroicons/react": "1.0.4",
|
||
"@iarna/toml": "2.2.3",
|
||
"@sentry/react": "^6.13.3",
|
||
"@sentry/tracing": "^6.13.3",
|
||
"@tailwindcss/forms": "^0.3.3",
|
||
"@types/glob": "7.1.3",
|
||
"@types/js-yaml": "3.12.1",
|
||
"@types/lodash.uniqby": "4.7.6",
|
||
"@types/mocha": "^5.2.6",
|
||
"@types/node": "10.17.48",
|
||
"@types/react": "17.0.0",
|
||
"@types/react-datepicker": "^4.1.7",
|
||
"@types/react-dom": "17.0.0",
|
||
"@types/vscode": "1.51.0",
|
||
"@vscode/codicons": "0.0.20",
|
||
"@vscode/webview-ui-toolkit": "^0.8.1",
|
||
"autoprefixer": "^10.3.2",
|
||
"css-loader": "5.2.7",
|
||
"date-fns": "2.23.0",
|
||
"downshift": "6.0.6",
|
||
"fuse.js": "6.4.6",
|
||
"glob": "7.1.6",
|
||
"gray-matter": "4.0.2",
|
||
"html-loader": "1.3.2",
|
||
"html-webpack-plugin": "4.5.0",
|
||
"image-size": "^1.0.0",
|
||
"lodash-es": "^4.17.21",
|
||
"lodash.uniqby": "4.7.0",
|
||
"mdast-util-from-markdown": "1.0.0",
|
||
"node-json-db": "^1.3.0",
|
||
"postcss": "^8.3.6",
|
||
"postcss-loader": "4.3.0",
|
||
"react": "17.0.1",
|
||
"react-datepicker": "4.2.1",
|
||
"react-dom": "17.0.1",
|
||
"react-dropzone": "^11.3.4",
|
||
"recoil": "^0.4.1",
|
||
"rimraf": "^3.0.2",
|
||
"style-loader": "2.0.0",
|
||
"tailwindcss": "^2.2.7",
|
||
"ts-loader": "8.0.3",
|
||
"tslint": "6.1.3",
|
||
"typescript": "4.0.2",
|
||
"url-join-ts": "^1.0.5",
|
||
"wc-react": "github:estruyf/wc-react",
|
||
"webpack": "4.44.2",
|
||
"webpack-cli": "3.3.12"
|
||
},
|
||
"dependencies": {}
|
||
}
|