API Reference
Class
MarkdownSlug
Slug utilities for generating anchor ids compatible with GitHub-like platforms.
Inheritance
- Object
- MarkdownSlug
Methods
CreateRegistry() #Creates a registry that tracks generated slugs to ensure uniqueness within a document render.
GitHub(System.String text, System.Collections.Generic.IDictionary{System.String,System.Int32} registry) #Generates a GitHub-style slug and ensures uniqueness using the provided registry when supplied.
Parameters
- text System.String
- registry System.Collections.Generic.IDictionary{System.String,System.Int32}