diff --git a/scripts/generate-options.py b/scripts/generate-options.py index b5ec939..2e77297 100644 --- a/scripts/generate-options.py +++ b/scripts/generate-options.py @@ -91,7 +91,9 @@ def print_option(option): key=option["name"], description=description or "", type=f"- type: {md_literal(option['type'])}", - default=render_option_value(option, "default"), + default=render_option_value(option, "defaultText") + if "defaultText" in option + else render_option_value(option, "default"), example=render_option_value(option, "example"), ) )