1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-22 08:08:11 +00:00

adding toc and renumbering

This commit is contained in:
Nellie McKesson 2013-09-11 16:10:33 -04:00
parent 7208bd6ba2
commit cc7eccfd08
4 changed files with 60 additions and 0 deletions

1
03-toc.html Normal file
View File

@ -0,0 +1 @@
<nav data-type="toc"></nav>

7
04-preface.html Normal file
View File

@ -0,0 +1,7 @@
<section data-type="preface">
<h1>Preface Title</h1>
<section data-type="sect1">
<h1>This Is an A-Head</h1>
<p>Congratulations on starting your new project! We've added some skeleton files for you, to help you get started, but you can delete any or all of them, as you like. In the file called chapter.html, we've added some placeholder content showing you how to markup and use some basic book elements, like notes, sidebars, and figures.</p>
</section>
</section>

45
05-chapter.html Normal file
View File

@ -0,0 +1,45 @@
<section data-type="chapter">
<h1>Chapter Title</h1>
<section data-type="sect1">
<h1>This Is an A-Head</h1>
<p>Start writing here! Replace any of this placeholder text with your opus. We've included a few examples of commonly used book elements, but you can delete them. You can add any of these elements using the buttons in the toolbar, as well.</p>
<blockquote data-type="epigraph">
<p>Alice was beginning to get very tired of sitting by her sister on the
bank, and of having nothing to do: once or twice she had peeped into the
book her sister was reading, but it had no pictures or conversations in
it, 'and what is the use of a book,' thought Alice 'without pictures or
conversation?'</p>
<p data-type="attribution">Lewis Carroll, <em>Alice in Wonderland</em></p>
</blockquote>
<p>The above is a blockquote, and specifically it's an epigraph, with an attribution to the author. (Epigraphs are a subset of blockquotes.)</p>
<div data-type="note">
<h1>This Is a Note</h1>
<p>Many people use notes to qualify a statement they made in the preceding paragraphs, or to warn their readers about pitfalls they might run into.</p>
</div>
<p>Now, let's take a look at a figure with a caption:</p>
<figure>
<img src="figure.jpg" />
<figcaption>Caption: This is a picture of my friend Mike's cat.</figcaption>
</figure>
<section data-type="sect2">
<h2>This Is a B-Head</h2>
<p>Add your text here.</p>
<aside>
<h5>Sidebar Title</h5>
<p>Here's a sidebar. Sidebars are great for setting aside a section of text that is related to the surrounding content but that doesn't necessarily fit into the main flow.</p>
</aside>
</section>
</section>
</section>
<!-- Files for the following:
Copyright
-->

7
06-appendix.html Normal file
View File

@ -0,0 +1,7 @@
<section data-type="appendix">
<h1>Appendix Title</h1>
<section data-type="sect1">
<h1>This Is an A-Head</h1>
<p>An appendix is generally used for extra material that supplements your main book content.</p>
</section>
</section>