slug

package
v0.3.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package slug provides heading-to-anchor conversion (GitHub-style slugification).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Heading

func Heading(text string) string

Heading converts heading text to a URL-safe anchor slug. Example: "My Task List" → "my-task-list"

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL