.l-main-section
h2 Code Examples
p To create a code example like the one below, simple copy the code
pre.prettyprint.linenums
code.
pre.prettyprint.linenums
code.
//SOME CODE
var name = "Alex Wolfe";
alert(name);
.l-sub-section
h3 Specify starting line number
pre(class="prettyprint linenums:4")
code.
pre.prettyprint.linenums:4
var title = "This starts on line four";
.l-sub-section
h3 Code Highlighting
p.
There are three types of highlights avialable
Outlined, Pink, and
Black. You can see examples below and
the class names needed for each type.
pre.prettyprint.linenums
code.
// Pink Background Version
// class="pnk"
var elephants = "The pink elephants were marching...";
// Black Background Version
// class="blk"
var night = "The night was pitch black.";
// Outlined Version
// class="otl"
var match = "The bird ate bird seed near the bird bath ";
.l-main-section
h2 Alerts
p Single line statments that are additional or critical to the content of a section or page.
.alert.is-critical A very critical alert
.alert.is-important A very important alert
.alert.is-helpful A very helpful alert
pre.prettyprint.linenums
code.
.alert.is-critical A very critical alert
.alert.is-important A very important alert
.alert.is-helpful A very helpful alert