customanchor

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package customanchor defines a custom header anchor for goldmark/anchor

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Texter

type Texter struct{}

Texter is the custom texter for heading anchors.

func (*Texter) AnchorText

func (*Texter) AnchorText(h *anchor.HeaderInfo) []byte

AnchorText is the custom Texter function to hide anchor for level 1 headings.

Jump to

Keyboard shortcuts

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