Reputation:
Currently, using kramdown in Jekyll, footnotes using [^1]
displays a superscripted number as such.1 However, I wish footnotes to look like this[1] in the fashion of Wikipedia.
Where can I find the code to manipulate for this small change?
Upvotes: 4
Views: 910
Reputation: 52819
To achieve your goal, you can use css.
If you have something like this in mypost.md content :
I make a reference to a footnote [^1].
[^1]: This is the footnote
Add two css rules :
a.footnote:before {
content: "[";
}
a.footnote:after {
content: "]";
}
Done !
Upvotes: 7