Skip to content

Commit

Permalink
Fix prose markup
Browse files Browse the repository at this point in the history
  • Loading branch information
mirisuzanne committed Jun 29, 2017
1 parent f1db203 commit f8d921e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
1 change: 1 addition & 0 deletions scss/samples/_mixins-functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/// Herman allows you to write "prose" markdown blocks,
/// to help introduce groups,
/// or add narrative flow between documented items.
///

This comment has been minimized.

Copy link
@jgerigmeyer

jgerigmeyer Jun 29, 2017

Member

What does this do?

This comment has been minimized.

Copy link
@mirisuzanne

mirisuzanne Jun 29, 2017

Author Member

Nothing but visual spacing

This comment has been minimized.

Copy link
@jgerigmeyer

jgerigmeyer Jun 29, 2017

Member

I assume just here in the code, not in the output.

This comment has been minimized.

Copy link
@mirisuzanne

mirisuzanne Jun 29, 2017

Author Member

That's right. No changes to output.

/// @group samples


Expand Down
14 changes: 6 additions & 8 deletions templates/item/macros.j2
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,12 @@
{% set deprecation = item.deprecated %}

{% if content or origin or by or deprecation %}
<header data-item-section="prose">
<div class="text-block">
{{ content|safe }}
{{ since(origin) }}
{{ authors(by) }}
{{ deprecated(deprecation) }}
</div>
</header>
<div data-item-section="prose" class="text-block">
{{ content|safe }}
{{ since(origin) }}
{{ authors(by) }}
{{ deprecated(deprecation) }}
</div>
{% endif %}
{% endmacro %}

Expand Down

0 comments on commit f8d921e

Please sign in to comment.