mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
Put insert-before text before the title h1 in HTML.
+ This is the documented behavior; the insert-before text comes after the <body> tag. + Resolves Issue #241.
This commit is contained in:
@@ -41,12 +41,12 @@ $for(header-includes)$
|
||||
$endfor$
|
||||
</head>
|
||||
<body>
|
||||
$if(title)$
|
||||
<h1 class="title">$title$</h1>
|
||||
$endif$
|
||||
$for(include-before)$
|
||||
$include-before$
|
||||
$endfor$
|
||||
$if(title)$
|
||||
<h1 class="title">$title$</h1>
|
||||
$endif$
|
||||
$if(toc)$
|
||||
$toc$
|
||||
$endif$
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
STUFF INSERTED
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="title">My S5 Document</h1>
|
||||
STUFF INSERTED
|
||||
<h1 class="title">My S5 Document</h1>
|
||||
<div id="first-slide"
|
||||
><h1
|
||||
>First slide</h1
|
||||
|
||||
Reference in New Issue
Block a user