md

package
v0.1.118 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package md provides common markdown utilities, used by build-tools and learn platform.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Walk

func Walk(node Node, f func(Node))

Walk visits a markdown AST node, executes function f on it and recursively visits all children.

Types

type Node

type Node interface {
	PrintHTML(*bytes.Buffer)
}

Node is a subset of markdown.Block and markdown.Inline interfaces.

Jump to

Keyboard shortcuts

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