add support for markdown footnotes

Signed-off-by: Naman Sood <mail@nsood.in>
This commit is contained in:
Naman Sood 2022-01-16 01:21:19 -05:00
parent 217b2d223d
commit 42a52ab7b9
2 changed files with 5 additions and 0 deletions

View file

@ -46,6 +46,7 @@ func newPost(slug string) (*Post, error) {
extension.Linkify, extension.Linkify,
extension.Strikethrough, extension.Strikethrough,
extension.Typographer, extension.Typographer,
extension.Footnote,
meta.Meta, meta.Meta,
highlighting.Highlighting, highlighting.Highlighting,
), ),

View file

@ -322,6 +322,10 @@ article {
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
} }
hr {
margin: 2*$ls $ls $ls;
}
} }
footer { footer {