Skip to content

Commit

Permalink
Add markdownEnumDescriptions to the demo
Browse files Browse the repository at this point in the history
  • Loading branch information
remcohaszing committed Nov 2, 2024
1 parent c7479a2 commit a9b0d81
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion examples/demo/src/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
},
"enum": {
"description": "Pick your starter",
"enum": ["Bulbasaur", "Squirtle", "Charmander", "Pikachu"]
"enum": ["Bulbasaur", "Charmander", "Squirtle", "Pikachu"],
"markdownEnumDescriptions": [
"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)",
"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)",
"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)",
"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)"
]
},
"number": {
"description": "Numbers work!",
Expand Down

0 comments on commit a9b0d81

Please sign in to comment.