From 8c72b0a6c4e6b4b7c242ee4e181a2f4fa22e4f2a Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 29 Aug 2021 18:13:38 +0200 Subject: [PATCH] AutoYAML: proper multi-line comments --- WebHostLib/templates/options.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebHostLib/templates/options.yaml b/WebHostLib/templates/options.yaml index 96a063b5..6c8c7dde 100644 --- a/WebHostLib/templates/options.yaml +++ b/WebHostLib/templates/options.yaml @@ -53,7 +53,7 @@ progression_balancing: # - "Master Sword Pedestal" {{ game }}: {%- for option_name, option in options.items() %} - {{ option_name }}:{% if option.__doc__ %} # {{ option.__doc__ }}{% endif %} + {{ option_name }}:{% if option.__doc__ %} # {{ option.__doc__ | replace('\n', '\n#') | indent(4, first=False) }}{% endif %} {%- if option.range_start is defined %} # you can add additional values between minimum and maximum {{ option.range_start }}: 0 # minimum value