You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
remark-slug currently just takes the text content of the heading and slugifies it for remark-autolink-headings, I assume.
Unfortunately, I am on a nested URL like: /blog/contributing-to-open-source-projects-the-right-way and not on the root path, therefore the a link redirects me to the root page instead of staying on the current page and jumping down.
Is there any solution or config option for that?
Expected behaviour
Jump to the anchor
The text was updated successfully, but these errors were encountered:
Yea I am aware of that but I meant that remark-autolink-headings takes the slug provided by remark-slug.
In case you are interested: I found out that the issue that I am encountering is indeed not relevant to this library, but the framework that I am using.
Problem
remark-slug
currently just takes the text content of the heading and slugifies it forremark-autolink-headings
, I assume.Unfortunately, I am on a nested URL like:
/blog/contributing-to-open-source-projects-the-right-way
and not on the root path, therefore the a link redirects me to the root page instead of staying on the current page and jumping down.Is there any solution or config option for that?
Expected behaviour
Jump to the anchor
The text was updated successfully, but these errors were encountered: