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
// notice that the path and hash are encoded by markdown-it
108
108
constrawPath=internalLinkMatch[1]
109
-
constrawHashAndQueries=internalLinkMatch[2]||''
109
+
110
+
// The default slugification function processes anchor links (hash fragments)
111
+
// If an anchor starts with a number (e.g., #123), it is replaced with #_number (e.g., #_123)
112
+
// This rule is designed to prevent potential URL conflicts, though manually written anchors like #123 are rare in Markdown—hence the special handling.
0 commit comments