-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(#57): footnotes #59
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, looks great! I'll have a proper look tomorrow :)
For now, I replied to your question in the issue so maybe let's use a margin and font size in em
/rem
units? Makes it more accessible for people who need bigger text, for example. There are probably more spots where we should switch to relative units but I guess that's a problem for the future🙈
Ok! I'll commit once I can figure out good values for font and margin |
Ah I figured it out: Yeah the idea to convert raw But we can merge this and think more broadly, if you want |
Good question. I just learned about it from w3.org:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!!
Hey @tuurep just a quick out-of-place question🙈 Is there anything else related to styles or GitHub extended markdown features you want to add/change? If not I would make a new minor release now that this is merged |
Yeah I have nothing to add for now, and great, I could benefit from a release right now :) Thanks |
Addresses the last task in #57
Can you make sure I added the yarn module in the right way? I ran
yarn add markdown-it-footnote
Are these styles good? I straight up added
20px
margin-top for the footnotes section. Dark mode needed a new color which is called something likefg-dimmed
in a variable in Github's styling.