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
{{ message }}
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
Subject of the issue
remark-slug does not add anchors to headings using GitHub’s algorithm.
This probably got to do with
toString
from https://github.com/syntax-tree/mdast-util-to-stringYour environment
N/A. Does not matter.
Steps to reproduce
Example you have markdown
Use runkit for easy reproduction
https://runkit.com/endiliey/5dd56d8045205a0013aec93d
Expected behaviour
Slug should be like GitHub https://gist.github.com/endiliey/4516bbf630b0f34eeabe8900733cfbf6#-foo
-foo
and-foo-1
Actual behaviour
Slug is
a-namefooa-foo
anda-namefooa-foo-1
The text was updated successfully, but these errors were encountered: