Skip to content

Commit a9b0d81

Browse files
committed
Add markdownEnumDescriptions to the demo
1 parent c7479a2 commit a9b0d81

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

examples/demo/src/schema.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@
1313
},
1414
"enum": {
1515
"description": "Pick your starter",
16-
"enum": ["Bulbasaur", "Squirtle", "Charmander", "Pikachu"]
16+
"enum": ["Bulbasaur", "Charmander", "Squirtle", "Pikachu"],
17+
"markdownEnumDescriptions": [
18+
"For some time after its birth, it uses the nutrients that are packed into the seed on its back in order to grow.\n\n[Pokédex](https://www.pokemon.com/us/pokedex/bulbasaur)",
19+
"The flame on its tail shows the strength of its life-force. If Charmander is weak, the flame also burns weakly.\n\n[Pokédex](https://www.pokemon.com/us/pokedex/charmander)",
20+
"After birth, its back swells and hardens into a shell. It sprays a potent foam from its mouth.\n\n[Pokédex](https://www.pokemon.com/us/pokedex/squirtle)",
21+
"When it is angered, it immediately discharges the energy stored in the pouches in its cheeks.\n\n[Pokédex](https://www.pokemon.com/us/pokedex/pikachu)"
22+
]
1723
},
1824
"number": {
1925
"description": "Numbers work!",

0 commit comments

Comments
 (0)