-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent a footnote ref at EOL to be on a new line by itself
Fixes #96 https://discourse.gohugo.io/t/is-it-possible-to-enforce-the-footnote-number-to-render-on-same-line-as-preceding-symbol/9085 Workaround for russross/blackfriday#405
- Loading branch information
1 parent
b88b0c6
commit 6eae238
Showing
3 changed files
with
134 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
+++ | ||
title = "Footnotes at End of line" | ||
tags = ["footnote"] | ||
draft = false | ||
+++ | ||
|
||
## Last word, followed by FOOTNOTE PERIOD {#last-word-followed-by-footnote-period} | ||
|
||
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a a[^fn:1]. | ||
|
||
ab a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a a[^fn:1]. | ||
|
||
abc a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a a a[^fn:1]. | ||
|
||
abcd a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a a a[^fn:1]. | ||
|
||
|
||
## Last word, followed by FOOTNOTE **space** PERIOD {#last-word-followed-by-footnote-space-period} | ||
|
||
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a a[^fn:1]. | ||
|
||
ab a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a a[^fn:1]. | ||
|
||
abc a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a a a[^fn:1]. | ||
|
||
abcd a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a a a[^fn:1]. | ||
|
||
|
||
## Last word, followed by **space** FOOTNOTE **space** PERIOD {#last-word-followed-by-space-footnote-space-period} | ||
|
||
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a [^fn:1]. | ||
|
||
ab a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a [^fn:1]. | ||
|
||
abc a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a a [^fn:1]. | ||
|
||
abcd a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a a [^fn:1]. | ||
|
||
abcde a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a a a [^fn:1]. | ||
|
||
|
||
## Last word, followed by PERIOD **space** FOOTNOTE {#last-word-followed-by-period-space-footnote} | ||
|
||
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a a. [^fn:1] | ||
|
||
ab a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a a. [^fn:1] | ||
|
||
abc a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a a a. [^fn:1] | ||
|
||
abcd a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a | ||
a a a. [^fn:1] | ||
|
||
[^fn:1]: First footnote |