diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-04-30 13:27:26 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-04-30 13:27:26 +0200 |
| commit | 5d72bddb44def078f1f37d0ab9916c0c436a61fc (patch) | |
| tree | 5b22922b03963b76e06d2a3e3f37df2866cc4314 /exampleSite | |
| parent | 6e8796039f87949081e546e156a36bdb87b04d16 (diff) | |
| download | gohugo-theme-ed-5d72bddb44def078f1f37d0ab9916c0c436a61fc.tar.gz | |
Update Footnotes documentation
Diffstat (limited to 'exampleSite')
| -rw-r--r-- | exampleSite/content/about/index.md | 3 | ||||
| -rw-r--r-- | exampleSite/content/documentation/index.md | 12 |
2 files changed, 6 insertions, 9 deletions
diff --git a/exampleSite/content/about/index.md b/exampleSite/content/about/index.md index 126651d..8371856 100644 --- a/exampleSite/content/about/index.md +++ b/exampleSite/content/about/index.md @@ -12,9 +12,6 @@ contrast, most textual scholars who have made the leap to a rigorous digital pra on markup, relying on technical teams to deploy and maintain their work. This makes your average scholarly digital edition a very costly and therefore limited affair. -That's some text with a footnote.[^1] - -[^1]: And that's the footnote. As we see it, a minimal edition is one that aims to reduce the size and complexity of the back and front end while flattening the learning curves for the user and the producer. Out of the box, the Ed diff --git a/exampleSite/content/documentation/index.md b/exampleSite/content/documentation/index.md index f956b63..2e79da7 100644 --- a/exampleSite/content/documentation/index.md +++ b/exampleSite/content/documentation/index.md @@ -123,21 +123,21 @@ The example from Raisin in the Sun shows us that we don't need much special mark ## Footnotes -Footnotes are the bread and butter of scholarship. Kramdown makes footnotes a fairly simple affair: +Footnotes are the bread and butter of scholarship. Hugo makes footnotes a fairly simple affair: -~~~ +~~~ markdown - O Captain! my Captain! rise up and hear the bells; -- Rise up—for you the flag is flung—for you the bugle[^fn2] trills, +- Rise up—for you the flag is flung—for you the bugle[^1] trills, ... -[^fn2]: The bugle is a small trumpet implicated in the military industrial complex. +[^1]: The bugle is a small trumpet implicated in the military industrial complex. ~~~ These footnotes can be placed anywhere, but they will always be generated at the bottom of the document. To have a multi-paragraph footnote you need to start the footnote text on the next line after the footnote anchor and indent it: ~~~ -[^fn3]: +[^1]: Ugh pinterest fixie cronut pitchfork beard. Literally deep cold-pressed distillery pabst austin. @@ -145,7 +145,7 @@ These footnotes can be placed anywhere, but they will always be generated at the denim pabst readymade biodiesel umami chicharrones XOXO. ~~~ -The footnotes system provided by kramdown does have one limitation: It generates the numeration for you automatically, and it only allows you to have one set of footnotes for a text. In some cases we have to separate the author's footnotes from our own, in others we want to represent the author's own footnote style. In these cases we have to use HTML. Here's the example from *Narrative of the Life*: +The footnotes system provided by Hugo does have one limitation: It generates the numeration for you automatically, and it only allows you to have one set of footnotes for a text. In some cases we have to separate the author's footnotes from our own, in others we want to represent the author's own footnote style. In these cases we have to use HTML. Here's the example from *Narrative of the Life*: ~~~ html ... At this time, Anna,<sup><a href="#fn2" id="ref2">\*</a></sup> my intended wife, came on; |
