mirror of https://github.com/twbs/bootstrap.git
Start adding tag for Base CSS translation
This commit is contained in:
parent
91780529d5
commit
bc9c89f157
|
@ -1,14 +1,14 @@
|
||||||
<!-- Masthead
|
<!-- Masthead
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<header class="jumbotron subhead" id="overview">
|
<header class="jumbotron subhead" id="overview">
|
||||||
<h1>Base CSS</h1>
|
<h1>{{_i}}Base CSS{{/i}}</h1>
|
||||||
<p class="lead">On top of the scaffolding, basic HTML elements are styled and enhanced with extensible classes to provide a fresh, consistent look and feel.</p>
|
<p class="lead">{{_i}}On top of the scaffolding, basic HTML elements are styled and enhanced with extensible classes to provide a fresh, consistent look and feel.{{/i}}</p>
|
||||||
<ul class="nav pills">
|
<ul class="nav pills">
|
||||||
<li><a href="./base-css.html#typography">Typography</a></li>
|
<li><a href="./base-css.html#typography">{{_i}}Typography{{/i}}</a></li>
|
||||||
<li><a href="./base-css.html#tables">Tables</a></li>
|
<li><a href="./base-css.html#tables">{{_i}}Tables{{/i}}</a></li>
|
||||||
<li><a href="./base-css.html#forms">Forms</a></li>
|
<li><a href="./base-css.html#forms">{{_i}}Forms{{/i}}</a></li>
|
||||||
<li><a href="./base-css.html#buttons">Buttons</a></li>
|
<li><a href="./base-css.html#buttons">{{_i}}Buttons{{/i}}</a></li>
|
||||||
<li><a href="./base-css.html#icons">Icons by Glyphicons</a></li>
|
<li><a href="./base-css.html#icons">{{_i}}Icons by Glyphicons{{/i}}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
@ -17,43 +17,43 @@
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<section id="typography">
|
<section id="typography">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>Typography <small>Headings, paragraphs, lists, and other inline type elements</small></h1>
|
<h1>{{_i}}Typography <small>Headings, paragraphs, lists, and other inline type elements</small>{{/i}}</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>Headings & body copy</h2>
|
<h2>{{_i}}Headings & body copy{{/i}}</h2>
|
||||||
|
|
||||||
<!-- Headings & Paragraph Copy -->
|
<!-- Headings & Paragraph Copy -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<h3>Typographic scale</h3>
|
<h3>{{_i}}Typographic scale{{/i}}</h3>
|
||||||
<p>The entire typographic grid is based on two Less variables in our preboot.less file: <code>@baseFontSize</code> and <code>@baseLineHeight</code>. The first is the base font-size used throughout and the second is the base line-height.</p>
|
<p>{{_i}}The entire typographic grid is based on two Less variables in our preboot.less file: <code>@baseFontSize</code> and <code>@baseLineHeight</code>. The first is the base font-size used throughout and the second is the base line-height.{{/i}}</p>
|
||||||
<p>We use those variables, and some math, to create the margins, paddings, and line-heights of all our type and more.</p>
|
<p>{{_i}}We use those variables, and some math, to create the margins, paddings, and line-heights of all our type and more.{{/i}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<h3>Example body text</h3>
|
<h3>{{_i}}Example body text{{/i}}</h3>
|
||||||
<p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
|
<p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
|
||||||
<p>Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec sed odio dui.</p>
|
<p>Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec sed odio dui.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<div class="well">
|
<div class="well">
|
||||||
<h1>h1. Heading 1</h1>
|
<h1>h1. {{_i}}Heading 1{{/i}}</h1>
|
||||||
<h2>h2. Heading 2</h2>
|
<h2>h2. {{_i}}Heading 2{{/i}}</h2>
|
||||||
<h3>h3. Heading 3</h3>
|
<h3>h3. {{_i}}Heading 3{{/i}}</h3>
|
||||||
<h4>h4. Heading 4</h4>
|
<h4>h4. {{_i}}Heading 4{{/i}}</h4>
|
||||||
<h5>h5. Heading 5</h5>
|
<h5>h5. {{_i}}Heading 5{{/i}}</h5>
|
||||||
<h6>h6. Heading 6</h6>
|
<h6>h6. {{_i}}Heading 6{{/i}}</h6>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Misc Elements -->
|
<!-- Misc Elements -->
|
||||||
<h2>Emphasis, address, and abbreviation</h2>
|
<h2>{{_i}}Emphasis, address, and abbreviation{{/i}}</h2>
|
||||||
<table class="table table-bordered table-striped">
|
<table class="table table-bordered table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Element</th>
|
<th>{{_i}}Element{{/i}}</th>
|
||||||
<th>Usage</th>
|
<th>{{_i}}Usage{{/i}}</th>
|
||||||
<th>Optional</th>
|
<th>{{_i}}Optional{{/i}}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -62,10 +62,10 @@
|
||||||
<code><strong></code>
|
<code><strong></code>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
For emphasizing a snippet of text with <strong>important</strong>
|
{{_i}}For emphasizing a snippet of text with <strong>important</strong>{{/i}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span class="muted">None</span>
|
<span class="muted">{{_i}}None{{/i}}</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -73,10 +73,10 @@
|
||||||
<code><em></code>
|
<code><em></code>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
For emphasizing a snippet of text with <em>stress</em>
|
{{_i}}For emphasizing a snippet of text with <em>stress</em>{{/i}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span class="muted">None</span>
|
<span class="muted">{{_i}}None{{/i}}</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -84,10 +84,10 @@
|
||||||
<code><abbr></code>
|
<code><abbr></code>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
Wraps abbreviations and acronyms to show the expanded version on hover
|
{{_i}}Wraps abbreviations and acronyms to show the expanded version on hover{{/i}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
Include optional <code>title</code> for expanded text
|
{{_i}}Include optional <code>title</code> for expanded text{{/i}}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -95,10 +95,10 @@
|
||||||
<code><address></code>
|
<code><address></code>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
For contact information for its nearest ancestor or the entire body of work
|
{{_i}}For contact information for its nearest ancestor or the entire body of work{{/i}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
Preserve formatting by ending all lines with <code><br></code>
|
{{_i}}Preserve formatting by ending all lines with <code><br></code>{{/i}}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -106,13 +106,13 @@
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<h3>Using emphasis</h3>
|
<h3>{{_i}}Using emphasis{{/i}}</h3>
|
||||||
<p><a href="#">Fusce dapibus</a>, <strong>tellus ac cursus commodo</strong>, <em>tortor mauris condimentum nibh</em>, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.</p>
|
<p><a href="#">Fusce dapibus</a>, <strong>tellus ac cursus commodo</strong>, <em>tortor mauris condimentum nibh</em>, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.</p>
|
||||||
<p><strong>Note:</strong> Feel free to use <code><b></code> and <code><i></code> in HTML5, but their usage has changed a bit. <code><b></code> is meant to highlight words or phrases without conveying additional importance while <code><i></code> is mostly for voice, technical terms, etc.</p>
|
<p>{{_i}}<strong>Note:</strong> Feel free to use <code><b></code> and <code><i></code> in HTML5, but their usage has changed a bit. <code><b></code> is meant to highlight words or phrases without conveying additional importance while <code><i></code> is mostly for voice, technical terms, etc.{{/i}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<h3>Example addresses</h3>
|
<h3>{{_i}}Example addresses{{/i}}</h3>
|
||||||
<p>Here are two examples of how the <code><address></code> tag can be used:</p>
|
<p>{{_i}}Here are two examples of how the <code><address></code> tag can be used:{{/i}}</p>
|
||||||
<address>
|
<address>
|
||||||
<strong>Twitter, Inc.</strong><br>
|
<strong>Twitter, Inc.</strong><br>
|
||||||
795 Folsom Ave, Suite 600<br>
|
795 Folsom Ave, Suite 600<br>
|
||||||
|
@ -120,15 +120,15 @@
|
||||||
<abbr title="Phone">P:</abbr> (123) 456-7890
|
<abbr title="Phone">P:</abbr> (123) 456-7890
|
||||||
</address>
|
</address>
|
||||||
<address>
|
<address>
|
||||||
<strong>Full Name</strong><br>
|
<strong>{{_i}}Full Name{{/i}}</strong><br>
|
||||||
<a mailto="#">first.last@gmail.com</a>
|
<a mailto="#">{{_i}}first.last@gmail.com{{/i}}</a>
|
||||||
</address>
|
</address>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<h3>Example abbreviations</h3>
|
<h3>{{_i}}Example abbreviations{{/i}}</h3>
|
||||||
<p>Abbreviations are styled with uppercase text and a light dotted bottom border. They also have a help cursor on hover so users have extra indication something will be shown on hover.</p>
|
<p>{{_i}}Abbreviations are styled with uppercase text and a light dotted bottom border. They also have a help cursor on hover so users have extra indication something will be shown on hover.{{/i}}</p>
|
||||||
<p><abbr title="HyperText Markup Language">HTML</abbr> is the best thing since sliced bread.</p>
|
<p>{{_i}}<abbr title="HyperText Markup Language">HTML</abbr> is the best thing since sliced bread.{{/i}}</p>
|
||||||
<p>An abbreviation of the word attribute is <abbr title="attribute">attr</abbr>.</p>
|
<p>{{_i}}An abbreviation of the word attribute is <abbr title="attribute">attr</abbr>.{{/i}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -138,9 +138,9 @@
|
||||||
<table class="table table-bordered table-striped">
|
<table class="table table-bordered table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Element</th>
|
<th>{{_i}}Element{{/i}}</th>
|
||||||
<th>Usage</th>
|
<th>{{_i}}Usage{{/i}}</th>
|
||||||
<th>Optional</th>
|
<th>{{_i}}Optional{{/i}}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -149,11 +149,11 @@
|
||||||
<code><blockquote></code>
|
<code><blockquote></code>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
Block-level element for quoting content from another source
|
{{_i}}Block-level element for quoting content from another source{{/i}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>Add <code>cite</code> attribute for source URL</p>
|
<p>{{_i}}Add <code>cite</code> attribute for source URL{{/i}}</p>
|
||||||
Use <code>.pull-left</code> and <code>.pull-right</code> classes for floated options
|
{{_i}}Use <code>.pull-left</code> and <code>.pull-right</code> classes for floated options{{/i}}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -161,53 +161,53 @@
|
||||||
<code><small></code>
|
<code><small></code>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
Optional element for adding a user-facing citation, typically an author with title of work
|
{{_i}}Optional element for adding a user-facing citation, typically an author with title of work{{/i}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
Place the <code><cite></code> around the title or name of source
|
{{_i}}Place the <code><cite></code> around the title or name of source{{/i}}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<p>To include a blockquote, wrap <code><blockquote></code> around any <abbr title="HyperText Markup Language">HTML</abbr> as the quote. For straight quotes we recommend a <code><p></code>.</p>
|
<p>{{_i}}To include a blockquote, wrap <code><blockquote></code> around any <abbr title="HyperText Markup Language">HTML</abbr> as the quote. For straight quotes we recommend a <code><p></code>.{{/i}}</p>
|
||||||
<p>Include an optional <code><small></code> element to cite your source and you'll get an em dash <code>&mdash;</code> before it for styling purposes.</p>
|
<p>{{_i}}Include an optional <code><small></code> element to cite your source and you'll get an em dash <code>&mdash;</code> before it for styling purposes.{{/i}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span8">
|
<div class="span8">
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
|
||||||
<small>Someone famous</small>
|
<small>{{_i}}Someone famous{{/i}}</small>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
</div><!--/row-->
|
</div><!--/row-->
|
||||||
|
|
||||||
<h3>Example blockquotes</h3>
|
<h3>{{_i}}Example blockquotes{{/i}}</h3>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span6">
|
<div class="span6">
|
||||||
<p>Default blockquotes are styled as such:</p>
|
<p>{{_i}}Default blockquotes are styled as such:{{/i}}</p>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
|
||||||
<small>Someone famous in <cite title="">Body of work</cite></small>
|
<small>{{_i}}Someone famous in <cite title="">Body of work</cite>{{/i}}</small>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</div>
|
</div>
|
||||||
<div class="span6">
|
<div class="span6">
|
||||||
<p>To float your blockquote to the right, add <code>class="pull-right"</code>:</p>
|
<p>{{_i}}To float your blockquote to the right, add <code>class="pull-right"</code>:{{/i}}</p>
|
||||||
<blockquote class="pull-right">
|
<blockquote class="pull-right">
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
|
||||||
<small>Someone famous in <cite title="">Body of work</cite></small>
|
<small>{{_i}}Someone famous in <cite title="">Body of work</cite>{{/i}}</small>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!-- Lists -->
|
<!-- Lists -->
|
||||||
<h2>Lists</h2>
|
<h2>{{_i}}Lists{{/i}}</h2>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span3">
|
<div class="span3">
|
||||||
<h4>Unordered</h4>
|
<h4>{{_i}}Unordered{{/i}}</h4>
|
||||||
<p><code><ul></code></p>
|
<p><code><ul></code></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Lorem ipsum dolor sit amet</li>
|
<li>Lorem ipsum dolor sit amet</li>
|
||||||
|
@ -228,7 +228,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="span3">
|
<div class="span3">
|
||||||
<h4>Unstyled</h4>
|
<h4>{{_i}}Unstyled{{/i}}</h4>
|
||||||
<p><code><ul class="unstyled"></code></p>
|
<p><code><ul class="unstyled"></code></p>
|
||||||
<ul class="unstyled">
|
<ul class="unstyled">
|
||||||
<li>Lorem ipsum dolor sit amet</li>
|
<li>Lorem ipsum dolor sit amet</li>
|
||||||
|
@ -249,7 +249,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="span3">
|
<div class="span3">
|
||||||
<h4>Ordered</h4>
|
<h4>{{_i}}Ordered{{/i}}</h4>
|
||||||
<p><code><ol></code></p>
|
<p><code><ol></code></p>
|
||||||
<ol>
|
<ol>
|
||||||
<li>Lorem ipsum dolor sit amet</li>
|
<li>Lorem ipsum dolor sit amet</li>
|
||||||
|
@ -263,11 +263,11 @@
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
<div class="span3">
|
<div class="span3">
|
||||||
<h4>Description</h4>
|
<h4>{{_i}}Description{{/i}}</h4>
|
||||||
<p><code><dl></code></p>
|
<p><code><dl></code></p>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Description lists</dt>
|
<dt>{{_i}}Description lists{{/i}}</dt>
|
||||||
<dd>A description list is perfect for defining terms.</dd>
|
<dd>{{_i}}A description list is perfect for defining terms.{{/i}}</dd>
|
||||||
<dt>Euismod</dt>
|
<dt>Euismod</dt>
|
||||||
<dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
|
<dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
|
||||||
<dd>Donec id elit non mi porta gravida at eget metus.</dd>
|
<dd>Donec id elit non mi porta gravida at eget metus.</dd>
|
||||||
|
@ -280,42 +280,42 @@
|
||||||
|
|
||||||
<!-- Code -->
|
<!-- Code -->
|
||||||
|
|
||||||
<h2>Code <small>Inline and block</small></h2>
|
<h2>{{_i}}Code <small>Inline and block</small>{{/i}}</h2>
|
||||||
<table class="table table-bordered table-striped">
|
<table class="table table-bordered table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 190px;">Element</th>
|
<th style="width: 190px;">{{_i}}Element{{/i}}</th>
|
||||||
<th>Result</th>
|
<th>{{_i}}Result{{/i}}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><code></code></td>
|
<td><code><code></code></td>
|
||||||
<td>In a line of text like this, your wrapped code will look like this <code><html></code> element.</td>
|
<td>{{_i}}In a line of text like this, your wrapped code will look like this <code><html></code> element.{{/i}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><pre></code></td>
|
<td><code><pre></code></td>
|
||||||
<td>
|
<td>
|
||||||
<pre><div>
|
<pre><div>
|
||||||
<h1>Heading</h1>
|
<h1>{{_i}}Heading{{/i}}</h1>
|
||||||
<p>Something right here...</p>
|
<p>{{_i}}Something right here…{{/i}}</p>
|
||||||
</div></pre>
|
</div></pre>
|
||||||
<p><strong>Note:</strong> Be sure to keep code within <code><pre></code> tags as close to the left as possible; it will render all tabs.</p>
|
<p>{{_i}}<strong>Note:</strong> Be sure to keep code within <code><pre></code> tags as close to the left as possible; it will render all tabs.{{/i}}</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><pre class="prettyprint"></code></td>
|
<td><code><pre class="prettyprint"></code></td>
|
||||||
<td>
|
<td>
|
||||||
<p>Using the google-code-prettify library, you're blocks of code get a slightly different visual style and automatic syntax highlighting. You can also add an additional class to add line numbers.</p>
|
<p>{{_i}}Using the google-code-prettify library, you're blocks of code get a slightly different visual style and automatic syntax highlighting. You can also add an additional class to add line numbers.{{/i}}</p>
|
||||||
<pre class="prettyprint"><div>
|
<pre class="prettyprint"><div>
|
||||||
<h1>Heading</h1>
|
<h1>{{_i}}Heading{{/i}}</h1>
|
||||||
<p>Something right here...</p>
|
<p>{{_i}}Something right here…{{/i}}</p>
|
||||||
</div></pre>
|
</div></pre>
|
||||||
<pre class="prettyprint linenums"><div>
|
<pre class="prettyprint linenums"><div>
|
||||||
<h1>Heading</h1>
|
<h1>{{_i}}Heading{{/i}}</h1>
|
||||||
<p>Something right here...</p>
|
<p>{{_i}}Something right here…{{/i}}</p>
|
||||||
</div></pre>
|
</div></pre>
|
||||||
<p><a href="http://code.google.com/p/google-code-prettify/">Download google-code-prettify</a> and view the readme for <a href="http://google-code-prettify.googlecode.com/svn/trunk/README.html">how to use</a>.</p>
|
<p>{{_i}}<a href="http://code.google.com/p/google-code-prettify/">Download google-code-prettify</a> and view the readme for <a href="http://google-code-prettify.googlecode.com/svn/trunk/README.html">how to use</a>.{{/i}}</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in New Issue