aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-11-30 14:30:07 +0000
committerGravatar Joe Banks <[email protected]>2020-11-30 14:30:07 +0000
commit6e1b7ae08c0f380986fb4cfcdd6035073201b9c5 (patch)
treebc36e6d23d3d651dea601afb9c84b75feffc5a7a
parentAdd form schema (diff)
Update syntax highlighting
-rw-r--r--SCHEMA.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/SCHEMA.md b/SCHEMA.md
index 11e5c86..f594689 100644
--- a/SCHEMA.md
+++ b/SCHEMA.md
@@ -54,7 +54,7 @@ Different questions require different input data to render. All data is in an ob
##### `radio`
-```json
+```js
{
// Option list for radio buttons
"options": [
@@ -71,7 +71,7 @@ Checkboxes require no additional configuration
##### `select`
-```json
+```js
{
// Option list for select dropdown
"options": [
@@ -91,7 +91,7 @@ Textareas require no additional configuration.
##### `code`
-```json
+```js
{
// A supported language from https://prismjs.com/#supported-languages
"language": "python"
@@ -100,7 +100,7 @@ Textareas require no additional configuration.
##### `range`
-```json
+```js
{
// A list of options to put on the range, from left to right
"options": [
@@ -114,7 +114,7 @@ Textareas require no additional configuration.
##### `section`
-```json
+```js
{
// OPTIONAL: Additional text to place below the section header
"text": "This section will quiz you on A, B and C"