markdowntoc

package module
v0.0.0-...-7f65a11 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: MIT Imports: 6 Imported by: 0

README

markdown-toc


Usage

cat README.markdown
=> # README
=> 
=> <!-- toc -->
=> <!-- /toc -->
=> 
=> ## Usage
=> ...
=> ## Install
=> ...
=> ## License

markdown-toc README.markdown
=> # README
=> 
=> <!-- toc -->
=> * [Usage](#usage)
=> * [Install](#install)
=> * [License](#license)
=> <!-- /toc -->
=> 
=> ## Usage
=> ...
=> ## Install
=> ...
=> ## License

Install

go install github.com/aereal/markdown-toc/cmd/markdown-toc

See also

Inspired by hail2u/node-gfmtoc

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectToc

func InjectToc(in io.Reader, out io.Writer)

Types

This section is empty.

Directories

Path Synopsis
cmd
internal
cli

Jump to

Keyboard shortcuts

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