Improve support for Markdown footnotes (fix #61)

This commit is contained in:
George Cushen 2016-11-21 09:26:51 +00:00
commit 605902a884
3 changed files with 12 additions and 2 deletions

View file

@ -4,6 +4,7 @@ copyright = "© 2016 Your Name"
languageCode = "en-us"
theme = "academic"
enableEmoji = true
footnotereturnlinkcontents = "<sup>^</sup>"
# Enable comments by entering your Disqus shortname
disqusShortname = ""

View file

@ -70,6 +70,15 @@ I :heart: Academic :smile:
> This is a blockquote.
## Footnotes
I have more [^1] to say.
[^1]: Footnote example.
I have more [^1] to say.
[^1]: Footnote example.
## Code highlighting
Pass the *language* of the code, such as `python`, as a parameter after three backticks:

View file

@ -772,7 +772,7 @@ footer a#back_to_top i {
}
/* Prevent navbar hiding initial content when jumping to in-page anchor. */
*[id]:before {
*[id]:not([id^="fn"]):before {
display: block;
content: " ";
margin-top: -70px;
@ -828,7 +828,7 @@ nav#navbar-main li {
}
/* Prevent navbar hiding initial content when jumping to in-page anchor. */
*[id]:before {
*[id]:not([id^="fn"]):before {
margin-top: -50px;
height: 50px;
}