Skip to content
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

Add remark-slug as a plugin #11

Open
janine9vn opened this issue Jul 19, 2021 · 1 comment
Open

Add remark-slug as a plugin #11

janine9vn opened this issue Jul 19, 2021 · 1 comment

Comments

@janine9vn
Copy link
Contributor

Reasoning

I'd like to add remark-slug as a plugin so that the headers on the website get auto-linked.

## My Heading

gets turned into:

<h2 id="my-heading">My Heading</h2>

This will allow us to add a potential Table of Contents and also provide jumplinks if need be. I feel that this necessary on pages with a lot of scrolling content like the awards page.

Another option if we don't want to use remark-slug and instead pseudo roll-our-own: override the headings and provide our own component

@twavv
Copy link
Contributor

twavv commented Jul 19, 2021

Yeah totally agree. Would be need if we could auto add those little clickable anchors as well to copy it.

Is this something you'd like to tackle, or just have a webdev person do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants