From 42a52ab7b9609cc31d582c5414716b108af50ad1 Mon Sep 17 00:00:00 2001 From: Naman Sood Date: Sun, 16 Jan 2022 01:21:19 -0500 Subject: [PATCH] add support for markdown footnotes Signed-off-by: Naman Sood --- post.go | 1 + styles/main.scss | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/post.go b/post.go index c280072..f78a946 100644 --- a/post.go +++ b/post.go @@ -46,6 +46,7 @@ func newPost(slug string) (*Post, error) { extension.Linkify, extension.Strikethrough, extension.Typographer, + extension.Footnote, meta.Meta, highlighting.Highlighting, ), diff --git a/styles/main.scss b/styles/main.scss index 73f1c93..7edfc63 100644 --- a/styles/main.scss +++ b/styles/main.scss @@ -322,6 +322,10 @@ article { text-align: center; text-decoration: none; } + + hr { + margin: 2*$ls $ls $ls; + } } footer {