git.iko.soy/typeable/pandoc
on master help sign in
epub, epub3: added header-includes, include-before, include-after.

Closes jgm/pandoc#1987.

commitbed3f14dbc53f8dc69a542547d2858bb06c6fa94 authorJohn MacFarlane <jgm@berkeley.edu> dateTue 7 Apr 2015, 21:09 (12 years ago) parentc3aa395
2 files changed+18
default.epub+9 default.epub3+9
default.epub+9
@@ -14,6 +14,9 @@ $endif$
1414$for(css)$
1515 <link rel="stylesheet" type="text/css" href="$css$" />
1616$endfor$
17+$for(header-includes)$
18+ $header-includes$
19+$endfor$
1720</head>
1821<body$if(coverpage)$ id="cover"$endif$>
1922$if(titlepage)$
@@ -43,7 +46,13 @@ $if(rights)$
4346 <div class="rights">$rights$</div>
4447$endif$
4548$else$
49+$for(include-before)$
50+$include-before$
51+$endfor$
4652$body$
53+$for(include-after)$
54+$include-after$
55+$endfor$
4756$endif$
4857</body>
4958</html>
default.epub3+9
@@ -18,6 +18,9 @@ $endif$
1818$for(css)$
1919 <link rel="stylesheet" type="text/css" href="$css$" />
2020$endfor$
21+$for(header-includes)$
22+ $header-includes$
23+$endfor$
2124</head>
2225<body$if(coverpage)$ id="cover"$endif$>
2326$if(titlepage)$
@@ -49,7 +52,13 @@ $if(rights)$
4952$endif$
5053</section>
5154$else$
55+$for(include-before)$
56+$include-before$
57+$endfor$
5258$body$
59+$for(include-after)$
60+$include-after$
61+$endfor$
5362$endif$
5463</body>
5564</html>