From 651b4b218c4a144ea48a813f387b9b4bb07a56a0 Mon Sep 17 00:00:00 2001 From: Kenneth Rabe <198457948+k-rabe@users.noreply.github.com> Date: Sun, 9 Feb 2025 14:36:01 +0000 Subject: [PATCH] Re-add separator at required indicator in MD --- .../templates/md_nested/section_properties_details.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %}