Documentation
¶
Overview ¶
Package slug generates heading anchor ids the way GitHub does.
Goldmark's built-in generator turns underscores into dashes and drops non-ASCII characters, so links like `#implementation-attack_pattern` written against GitHub's ids don't resolve. GitHub keeps word characters (letters, digits, marks and the underscore) plus the dash, lowercases everything, turns spaces into dashes and drops the rest.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.