From a9b0d812d1be52f7f57c6a0efe2d18368abff56a Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Sat, 2 Nov 2024 15:24:10 +0100 Subject: [PATCH] Add markdownEnumDescriptions to the demo --- examples/demo/src/schema.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/examples/demo/src/schema.json b/examples/demo/src/schema.json index 38adcdc..b22c0ab 100644 --- a/examples/demo/src/schema.json +++ b/examples/demo/src/schema.json @@ -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!",