Here we are passing any explicit context, blog, to the helper.
My Amazing Book
Custom separator defined in the options hash.
My Brilliant Blog
My Amazing Book
before-another-chapter-2
Content from My Amazing Book
Chapter 2
Chapter: 2
filename: context-data-object.html
pagename: context-data-object.html
basename: context-data-object
ext: .html
My Amazing Book
My Brilliant Blog
2
Chapter 2
2
Chapter 2
before-another-chapter-2
test/fixtures/book/before-another-chapter-2.md
1
2
0
2
Content from test/fixtures/book/before-another-chapter-2.md.
My Amazing Book
Custom separator defined in the options hash.
My Brilliant Blog
My Amazing Book
middle-file-chapter-3
Content from My Amazing Book
Chapter 3
Chapter: 3
filename: context-data-object.html
pagename: context-data-object.html
basename: context-data-object
ext: .html
My Amazing Book
My Brilliant Blog
3
Chapter 3
3
Chapter 3
middle-file-chapter-3
test/fixtures/book/middle-file-chapter-3.md
2
3
1
3
true
Content from test/fixtures/book/middle-file-chapter-3.md.
My Amazing Book
Custom separator defined in the options hash.
My Brilliant Blog
My Amazing Book
something-random-chapter-1
Content from My Amazing Book
Chapter 1
Chapter: 1
filename: context-data-object.html
pagename: context-data-object.html
basename: context-data-object
ext: .html
My Amazing Book
My Brilliant Blog
1
Chapter 1
1
Chapter 1
something-random-chapter-1
test/fixtures/book/something-random-chapter-1.md
3
4
2
4
Content from test/fixtures/book/something-random-chapter-1.md.
<li class="link">a</li>
<li class="link">b</li>
<li class="link">c</li>