Sign inSign up

cenk1cenk2/pipe-markdown-toc

By cenk1cenk2

Updated 4 months ago

Generates TOC for markdown files.

Image
0

6.9K

cenk1cenk2/pipe-markdown-toc repository overview

pipe-markdown-toc

Finds the markdown files and adds TOC to them.

pipe-markdown-toc [FLAGS]

Flags

Flag / EnvironmentDescriptionTypeRequiredDefault
$MARKDOWN_TOC_PATTERNSPattern for markdown.string[]false[README.md]
$MARKDOWN_TOC_START_DEPTHStart depth for the elements in the given document.intfalse1
$MARKDOWN_TOC_END_DEPTHEnd depth for the elements in the given document.intfalse5
$MARKDOWN_TOC_INDENTATIONIndentation for each element.intfalse2
$MARKDOWN_TOC_LIST_IDENTIFIERIdentifier for each list element.stringfalse-

CLI

Flag / EnvironmentDescriptionTypeRequiredDefault
$LOG_LEVELDefine the log level for the application.string
enum("panic", "fatal", "warn", "info", "debug", "trace")
falseinfo
$ENV_FILEEnvironment files to inject.string[]false[]

Tag summary

Content type

Image

Digest

sha256:9bab8f9de

Size

7.6 MB

Last updated

4 months ago

docker pull cenk1cenk2/pipe-markdown-toc