Skip to content

Commit

Permalink
Add square brackets around footnotes
Browse files Browse the repository at this point in the history
Unfortunately this is not possible in HTML, and adding square brackets
in CSS doesn't fix copy-pasting text.

pulldown-cmark/pulldown-cmark#644
  • Loading branch information
nyanpasu64 committed May 7, 2023
1 parent d4e2921 commit d4ef18a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sass/tale/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,13 @@
margin-top: 1.5em;
margin-bottom: 1.4em;
}

sup.footnote-reference a {
&::before {
content: "[";
}
&::after {
content: "]";
}
}
}

0 comments on commit d4ef18a

Please sign in to comment.