summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2019-04-13 00:48:46 -0600
committerGitHub <noreply@github.com>2019-04-13 00:48:46 -0600
commitf1410ff1b2bb8f1db18b12db6f14ca870f7eea2c (patch)
tree462bbe80bcc25b31f4b3689fe7155bfbecda3aa5 /examples
parent296994863dfede84852e7342a09dab967c0fab6a (diff)
resolves #85 place footnotes at end of chapter (book) or document (article) (PR #1016)
- place list of footnotes at end of chapter (when doctype is book) or document (when doctype is article) - add footnotes category to theme to style footnote list - add additional footnotes to example documents - honor footnotes-title attribute to control title of footnote list (unset by default)
Diffstat (limited to 'examples')
-rw-r--r--examples/basic-example.adoc6
-rw-r--r--examples/chronicles-example.adoc6
2 files changed, 8 insertions, 4 deletions
diff --git a/examples/basic-example.adoc b/examples/basic-example.adoc
index 9ce0ad51..29508620 100644
--- a/examples/basic-example.adoc
+++ b/examples/basic-example.adoc
@@ -12,7 +12,7 @@ A simple http://asciidoc.org[AsciiDoc] document.
== Introduction
-A paragraph followed by a simple list with square bullets.
+A paragraph followed by an unordered list{empty}footnote:[AsciiDoc supports unordered, ordered, and description lists.] with square bullets.footnote:[You may choose from square, disc, and circle for the bullet style.]
[square]
* item 1
@@ -29,3 +29,7 @@ Prawn::Document.generate 'example.pdf' do
text 'Hello, World!'
end
----
+
+== Conclusion
+
+That's all, folks!
diff --git a/examples/chronicles-example.adoc b/examples/chronicles-example.adoc
index 9f9aad57..6054112c 100644
--- a/examples/chronicles-example.adoc
+++ b/examples/chronicles-example.adoc
@@ -48,11 +48,11 @@ image::wolpertinger.jpg[Wolpertinger,pdfwidth=50%,link={uri-wolpertinger}]
You may not be familiar with these {uri-wolpertinger}[ravenous beasts].
Trust us, they'll eat your shorts and suck loops from your code.
In light of this danger, we've searched high and wide for the security crew's defensive operations manual.
-We can't find it and the DefOps{empty}footnote:[a portmanteau of “defensive” and “operations”] werewolves haven't returned from their rendezvous at Bier Central.
+We can't find it and the DefOps{empty}footnote:defops[DefOps is a portmanteau of "`defensive`" and "`operations`".] werewolves haven't returned from their rendezvous at Bier Central.
They've either eaten each other or fallen victim to the Wolpertingers roaming the streets of ((Antwerp)).
Quick, hit kbd:[Ctrl,Alt,Backspace] or select menu:File[Quit] and let's bail out of here!
-WARNING: Working with werewolves leads to howling and trying to train aggressive regular expressions with Pavlovian reinforcement.
+WARNING: Working with DefOps{empty}footnote:defops[] werewolves leads to howling and trying to train aggressive regular expressions with Pavlovian reinforcement.
_Weak light from the hallway trickled across the theater, chased by a distant scream._
@@ -79,7 +79,7 @@ Crystalline XML tags relentlessly bombarded the theater.
</author>
----
-Despite the assault, we were still attempting to draft an example of a defensive operation.
+Despite the assault, we continued our pursuit to draft a DefOps{empty}footnote:defops[] plan.
.DefOps Plan
====