-
Notifications
You must be signed in to change notification settings - Fork 7
Underscore Style Guide
This page documents the style used in Underscore's books Essential Scala, Essential Slick, and so on. It might be generally useful if you're writing a book using this template.
For a callout, surround the text surrounded by a div
with class="callout callout-info"
and start the callout with an unnumbered level 4 heading. Use the class "callout-info", "callout-warning", or "callout-danger" as appropriate. Example:
<div class="callout callout-info"> #### Heading {-} Body text here. </div>
All exercises should be under a heading (usually a level three heading) that is simply "Exercises". Each exercise should have a level four heading giving it a unique name. All these headings should be numbered (which is the default). Example:
### Exercises #### Drop! And give me fifty!
If an exercise consists of logical subexercises, give them the sub exercises titles using emphasised text like so:
#### Main Exercise Title *Subtitle* Exercise here