Browse files

add ids to headers

  • Loading branch information...
1 parent 6bc8a67 commit 436751ef02c42ece9f441f430c009b4293ad0b4e @ianb committed Oct 2, 2012
Showing with 11 additions and 11 deletions.
  1. +11 −11 tutorial.html
View
22 tutorial.html
@@ -52,7 +52,7 @@ <h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->A Tutorial <!-- /TIT
<article>
<section id="introduction">
<header>
- <h1>What's it like?</h1>
+ <h1 id="intro">What's it like?</h1>
</header>
<p>
@@ -68,7 +68,7 @@ <h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->A Tutorial <!-- /TIT
</p>
<aside>
- <h3>Page Setup</h3>
+ <h3 id="page-setup">Page Setup</h3>
<p>
See <a href="#html">Setting Up Your HTML</a> to see how to get your test running in the browser.
@@ -117,7 +117,7 @@ <h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->A Tutorial <!-- /TIT
</p>
<aside>
- <h3>Quoting</h3>
+ <h3 id="quoting">Quoting</h3>
<p>
If you are writing your tests inline in the document, remember that you don't need to quote <code>></code> as <code>&amp;gt;</code>, that's only needed for <code>&lt;</code>
@@ -134,7 +134,7 @@ <h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->A Tutorial <!-- /TIT
<section id="errors">
<header>
- <h3>Testing for error conditions</h3>
+ <h3 id="errors">Testing for error conditions</h3>
</header>
<p>
@@ -159,7 +159,7 @@ <h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->A Tutorial <!-- /TIT
<section id="print">
<header>
- <h3><code>print()</code> and output matching</h3>
+ <h3 id="print"><code>print()</code> and output matching</h3>
</header>
<aside>
@@ -238,7 +238,7 @@ <h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->A Tutorial <!-- /TIT
<section id="async">
<header>
- <h3>Testing async code</h3>
+ <h3 id="async">Testing async code</h3>
</header>
<aside>
@@ -307,7 +307,7 @@ <h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->A Tutorial <!-- /TIT
<section id="spy">
<header>
- <h3>The Spy</h3>
+ <h3 id="spy">The Spy</h3>
</header>
<aside>
@@ -467,7 +467,7 @@ <h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->A Tutorial <!-- /TIT
<section id="console">
<header>
- <h3>console.log</h3>
+ <h3 id="console-log">console.log</h3>
</header>
<p>
@@ -506,7 +506,7 @@ <h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->A Tutorial <!-- /TIT
<section id="abort">
<header>
- <h3>Giving Up</h3>
+ <h3 id="abort">Giving Up</h3>
</header>
<p>
@@ -531,7 +531,7 @@ <h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->A Tutorial <!-- /TIT
<section id="html">
<header>
- <h2>Setting Up Your HTML</h2>
+ <h2 id="html">Setting Up Your HTML</h2>
</header>
<aside>
@@ -600,7 +600,7 @@ <h1 class="title"><a href="/">Doctest.js</a>: <!-- TITLE -->A Tutorial <!-- /TIT
<section id="feedback">
<header>
- <h2>Feedback?</h2>
+ <h2 id="feedback">Feedback?</h2>
</header>
<p>Was something in this tutorial confusing? Is there a testing problem or pattern you think this tutorial should talk about? Please give feedback in the form of an <a href="https://github.com/ianb/doctestjs/issues/new">new issue</a>. Thanks!</p>

0 comments on commit 436751e

Please sign in to comment.