Skip to content

Commit

Permalink
italicize description
Browse files Browse the repository at this point in the history
  • Loading branch information
sierra-moxon committed Nov 28, 2023
1 parent e5c2e09 commit f70aab0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/doc-templates/class.md.jinja2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# <strong> Class: {{ gen.name(element) }} </strong> {% if element.deprecated %} <span style="color: red;"><strong> (DEPRECATED) </strong></span>{% endif %}{% if element.abstract %}<span style="color: purple;"><strong> (Abstract Class) </strong>:</span> {% endif %}
{% if element.description or element.aliases or element.multivalued or element.required or element.domain or element.range or element.inverse %}
<div class="highlight-box"> <strong>Description:</strong> {{ element.description }}<br>
<div class="highlight-box"> <strong>Description:</strong> <i>{{ element.description }}</i><br><br>
{% if element.aliases %}<strong>Aliases:</strong> {{ element.aliases | join(', ') }}<br>{% endif -%}
{% if element.multivalued %}<strong>Multivalued:</strong> {{ element.multivalued }}<br>{% endif -%}
{% if element.required %}<strong>Required:</strong> {{ element.required }}<br>{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion src/doc-templates/slot.md.jinja2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# <strong> Slot: {{ gen.name(element) }} </strong> {% if element.deprecated %} <span style="color: red;"><strong> (DEPRECATED) </strong></span> {% endif %}{% if element.abstract %}<span style="color: purple;"><strong> (Abstract Slot) </strong></span> {% endif %}{% if element.multivalued %} (multivalued){% endif -%}
{% if element.description or element.aliases or element.multivalued or element.required or element.domain or element.range or element.inverse %}
<div class="highlight-box"> <strong>Description:</strong> {{ element.description }}<br>
<div class="highlight-box"> <strong>Description:</strong><i> {{ element.description }}</i><br><br>
{% if element.aliases %} <strong>Aliases:</strong> {{ element.aliases | join(', ') }}<br>{% endif -%}
{% if element.domain %}<strong>Domain:</strong> {{ element.domain }}<br>{% endif %}
{% if element.range %}<strong>Range:</strong> {{ element.range }}<br>{% endif %}
Expand Down

0 comments on commit f70aab0

Please sign in to comment.