Skip to content

Instantly share code, notes, and snippets.

@JacobHacker
Created July 6, 2012 16:55
Show Gist options
  • Save JacobHacker/3061305 to your computer and use it in GitHub Desktop.
Save JacobHacker/3061305 to your computer and use it in GitHub Desktop.
Jacob's Toolbox
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
/* When making the kindle version, remove the margins */
body {
text-align:justify;
}
.toc{}
.title {
text-align: center;
}
.author{}
.chapter{
text-align: center;
margin: 1em;
font-height: 2em;
}
.heading {
font-size: 1.7em;
font-weight: bold;
}
hr {
width:33%;
margin-top: 2em;
margin-bottom: 2em;
}
.poetry {
font-style:italic; font-size:1.1em; font-weight:600;
}
.titlepage {
text-align: center;
margin-top: 5em;
margin-bottom: 5em;
}
p+p{
text-indent:2em;
}
ol{
padding:0;
}
li{
margin:0 1.5em;
}
.center{
text-align:center;
}
</style>
</head>
<body>
<div class="titlepage">
<h1 class="title"></h1>
<h2 class="author"></h2>
</div>
<hr />
<ol>
<h2>Contents</h2>
<li><a href="#ch01"></li></a>
<li><a href="#ch02"></li></a>
<li><a href="#ch03"></li></a>
<li><a href="#ch04"></li></a>
<li><a href="#ch05"></li></a>
<li><a href="#ch06"></li></a>
<li><a href="#ch07"></li></a>
<li><a href="#ch08"></li></a>
<li><a href="#ch09"></li></a>
<li><a href="#ch10"></li></a>
<li><a href="#ch11"></li></a>
<li><a href="#ch12"></li></a>
<li><a href="#ch13"></li></a>
<li><a href="#ch14"></li></a>
<li><a href="#ch15"></li></a>
<li><a href="#ch16"></li></a>
<li><a href="#ch17"></li></a>
<li><a href="#ch18"></li></a>
<li><a href="#ch19"></li></a>
<li><a href="#ch20"></li></a>
</ol>
</html>
</body>
<h2 class="chapter" name="ch01"> </h2>
<h2 class="chapter" name="ch10"> </h2>
Make sure to look for italics and emdashes
Emdash: —
Italics: _.+_
Paragraphs: \r\n\r\n
replace with: </p>\n \n<p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment