@frontmatter/extensibility
Advanced tools
Comparing version 0.0.14-beta.7729098 to 0.0.14-beta.7729309
{ | ||
"name": "@frontmatter/extensibility", | ||
"version": "0.0.14-beta.7729098", | ||
"version": "0.0.14-beta.7729309", | ||
"description": "Front Matter CMS extensibility library", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -44,2 +44,20 @@ <p align="center"> | ||
In case you want to have a multi-select question, you can just add the options to the question: | ||
```js | ||
if (!answers) { | ||
MediaScript.askQuestions([{ | ||
name: "category", | ||
message: "Which category do you want to use?", | ||
options: [ | ||
"Category 1", | ||
"Category 2", | ||
"Category 3" | ||
] | ||
}]); | ||
return; | ||
} | ||
``` | ||
> **Important**: Front Matter will execute the same script, so you first need to check if the answers were provided. | ||
@@ -46,0 +64,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39184
341