Skip to content

Commit 6111cc3

Browse files
committed
Add breakform to global atts
1 parent 1904aa7 commit 6111cc3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

_includes/atts-global.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ <h3 id="common-global-attributes">Common global attributes</h3>
1313
<dt><code>breakby="integer(s)"</code></dt>
1414
<dd>Used to group list items when separating by <code>break</code>. Possible values are lists of integers, like <code>2</code> (groups of 2 items) or <code>1,2</code> (alternate groups of 1 and 2 items).</dd>
1515
<dd><strong>Default:</strong> {% if include.breakby == null %}1 (unset){% else %}{{ include.breakby }}{% endif %} (see <a href="/tags/tag-attributes-cross-reference#breakby">breakby cross-reference</a>). </dd>
16+
{% endunless %}
17+
{% unless include.breakform == "" %}
18+
<dt><code>breakform="form name"</code></dt>
19+
<dd>A form to be used as `break`, generally jointly with `breakby` attribute. The special `<+>` pattern in this form will be replaced with the list "chunk" accumulated when break happens.</dd>
20+
<dd><strong>Default:</strong> {% if include.breakform == null %}unset{% else %}{{ include.breakform }}{% endif %} (see <a href="/tags/tag-attributes-cross-reference#breakform">breakform cross-reference</a>). </dd>
1621
{% endunless %}
1722
<dt><code>class="class name"</code></dt>
1823
<dd>HTML <code>class</code> to apply to the wrapper.</dd>

0 commit comments

Comments
 (0)