Skip to content

Commit 1a72f30

Browse files
stevebyanmflatt
authored andcommitted
Update docs with section tag css classes and ids
1 parent b610ab7 commit 1a72f30

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

scribble-doc/scribblings/scribble/config.scrbl

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,14 @@ The style classes:
353353

354354
[@spacer @spacer]
355355

356-
[@css{SSubSubSubSection} @elem{Deeply nested subsection (below @tt{<h5>}).}]
356+
[@css{SsectionLevel1} @elem{@tt{<section>} tag enclosing the part introduced by @racket[title].}]
357+
[@css{SsectionLevel2} @elem{@tt{<section>} tag enclosing a part introduced by @racket[section].}]
358+
[@css{SsectionLevel3} @elem{@tt{<section>} tag enclosing a part introduced by @racket[subsection].}]
359+
[@css{SsectionLevel4} @elem{@tt{<section>} tag enclosing a part introduced by @racket[subsubsection].}]
360+
361+
[@spacer @spacer]
362+
363+
[@css{SSubSubSubSection} @elem{Deeply nested subsection heading (below @tt{<h4>}).}]
357364

358365
[@spacer @spacer]
359366

@@ -401,8 +408,11 @@ The style classes:
401408
[@css{badlink} @elem{Broken cross-reference.}]
402409
[@css{plainlink} @elem{Hyperlink without an underline.}])
403410

404-
In addition, the @css{SIEHidden} style class is built in to all
405-
Scribble HTML output to hide an element on Internet Explorer 6.
411+
In addition, the @tt{<section>} tags are given @tt{id}s of the form @tt{id="section <n>"},
412+
where @tt{<n>} is the section or subsection or subsubsection number. For example, the second
413+
Scribble @racket[section] has an html @tt{<section>} tag with an @tt{id} of @tt{"section 2"},
414+
and the first Scribble @racket[subsection] of the second Scribble @racket[section] has an
415+
html @tt{<section>} tag with an @tt{id} of @tt{"section 2.1"}.
406416

407417
@; ------------------------------------------------------------
408418

0 commit comments

Comments
 (0)