Skip to content

Commit cf11ada

Browse files
committed
Document the new 'number' attribute and paragraph numbering.
1 parent 6b3b6e0 commit cf11ada

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

section.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414
-->
1515

1616
<!--
17-
Recognizes attributes 'id' and 'title', but marking these as attributes
17+
Sections auto-number themselves and their paragraphs. The chosen number can
18+
be overridden by setting the 'number' attribute. A paragraph can also be
19+
marked as a continuation of the previous paragraph (without its own number)
20+
by giving it a 'cont' class.
21+
22+
Also recognizes attributes 'id' and 'title', but marking these as attributes
1823
cause problems for the ShadowDOM polyfill.
1924
-->
2025
<polymer-element name="cxx-section" constructor="CxxSectionElement" attributes="number">

0 commit comments

Comments
 (0)