File tree 5 files changed +12
-14
lines changed 5 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,9 @@ the `bibliography` feature:
172
172
pbb enable bibliography
173
173
```
174
174
175
+ The bibliography is appended to the end of a post. If you want a heading for
176
+ it, just add one to the end of the post.
177
+
175
178
[ `--citeproc` ] : < https://pandoc.org/MANUAL.html#citations >
176
179
177
180
### dot graphs
Original file line number Diff line number Diff line change @@ -226,11 +226,8 @@ pandoc documentation
226
226
for details regarding the format and location of the bibliography as well as how
227
227
citations work.
228
228
.PP
229
- The heading of the bibliography defaults to \*( lq Bibliography\*( rq and can be
230
- adjusted by modifying the value of
231
- .I reference-section-title
232
- in
233
- .IR .metadata.yml .
229
+ If you want a heading for the reference section, add one to the end of the
230
+ Markdown.
234
231
.SS dot graphs
235
232
When a code block has the class
236
233
.IR dot ,
@@ -265,10 +262,9 @@ to modify its contents.
265
262
.TP
266
263
.I .metadata.yml
267
264
Stores metadata used by pandoc such as the heading for the table of contents,
268
- the field that controls generation of the table of contents (which can be
265
+ and the field that controls generation of the table of contents (which can be
269
266
overridden per post, see
270
- .BR OPTIONS ),
271
- and the heading for the bibliography.
267
+ .BR OPTIONS ).
272
268
.TP
273
269
.I assets
274
270
Contains various assets used when the blog is built:
Original file line number Diff line number Diff line change @@ -140,7 +140,6 @@ init() {
140
140
printf ' %s\n' \
141
141
' toc: false' \
142
142
' toc-title: Table of contents' \
143
- ' reference-section-title: Bibliography' \
144
143
> " $metadata "
145
144
git add " $metadata "
146
145
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ load test_helper
13
13
# My first post
14
14
15
15
Blah blah [@Ritchie1974].
16
+
17
+ ## Bibliography
16
18
EOF
17
19
18
20
run pbb build
@@ -24,7 +26,6 @@ load test_helper
24
26
cat docs/???? -?? -?? -* .html
25
27
grep -Pqz ' data-cites="Ritchie1974">\(Ritchie\sand\sThompson\s1974\)' docs/???? -?? -?? -* .html
26
28
27
- # Post contains bibliography; not a heading until jgm/pandoc#10367 is fixed
28
- # grep -q 'id="bibliography".*>Bibliography</h1>' docs/????-??-??-*.html
29
- grep -q ' <p>Bibliography</p>' docs/???? -?? -?? -* .html
29
+ # Post contains bibliography
30
+ grep -q ' id="bibliography".*>Bibliography</h1>' docs/???? -?? -?? -* .html
30
31
}
Original file line number Diff line number Diff line change @@ -22,10 +22,9 @@ load test_helper
22
22
# Conf file contains title
23
23
grep -Fqx ' blogtitle=Testblog' .pbbconfig
24
24
25
- # Metadata file contains TOC and bibliography settings
25
+ # Metadata file contains TOC settings
26
26
grep -Fqx ' toc: false' .metadata.yml
27
27
grep -Fqx ' toc-title: Table of contents' .metadata.yml
28
- grep -Fqx ' reference-section-title: Bibliography' .metadata.yml
29
28
30
29
# Header file contains title
31
30
[[ $( < includes/header.html) == ' <div id="blogtitle"><a href="./">Testblog</a></div>' ]]
You can’t perform that action at this time.
0 commit comments