Skip to content

Commit

Permalink
Add text prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
AlasdairGray committed Oct 31, 2023
1 parent d889fd7 commit d3e79ea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/docs/templates/slot.md.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Mixin: {{ element.mixin }}
{% endif -%}

## Usage Notes

{% if element.comments %}
{% set comments = element.comments | join('') %}

{% set comments_lines = comments.split('\n') %}
Expand All @@ -43,6 +43,9 @@ Mixin: {{ element.mixin }}
{{ line }}
{% endif %}
{% endfor %}
{% else %}
_Usage notes still to be provided._
{% endif %}

{% if schemaview.slot_parents(element.name) or schemaview.slot_children(element.name, mixins=False) %}

Expand Down

0 comments on commit d3e79ea

Please sign in to comment.