markdown

package
v0.0.0-...-3e86cb5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// README TODO
	README = "README.md"
)

Variables

View Source
var Toc = cli.Command{
	Name:     "markdown",
	Usage:    "markdown commands: toc.",
	Category: "markdown",
	Subcommands: []cli.Command{
		{
			Name:   "toc",
			Usage:  "create toc for all markdown files",
			Action: toc,
		},
	},
}

Toc 查看目录下 markdown 文件

Functions

func DFS

func DFS(dirname string, titleLevel int64)

DFS 深度优先遍历文件+目录(优先展示目录)

func ListAll

func ListAll()

ListAll TODO

Types

This section is empty.

Jump to

Keyboard shortcuts

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