diff --git a/json_schema_for_humans/templates/md_nested/section_properties_details.md b/json_schema_for_humans/templates/md_nested/section_properties_details.md index 78a135e..a34eaa7 100644 --- a/json_schema_for_humans/templates/md_nested/section_properties_details.md +++ b/json_schema_for_humans/templates/md_nested/section_properties_details.md @@ -11,9 +11,9 @@ {% filter md_heading(depth + 1, html_id, True) -%} {%- filter replace('\n', '') -%} {%- if not skip_required and sub_property.property_name -%} - {{ "[Required]" if sub_property.is_required_property else "[Optional]" -}} + {{ "[Required] " if sub_property.is_required_property else "[Optional] " -}} {%- endif -%} - {%- if sub_property is deprecated -%}~~ {%- endif -%} + {%- if sub_property is deprecated -%}~~ {%- endif -%} {%- if sub_property.is_pattern_property %}Pattern {% endif %}Property {% with schema=sub_property %}{%- include "breadcrumbs.md" %}{% endwith %} {%- if sub_property is deprecated -%}~~{%- endif -%} {%- endfilter %}