markdown

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package markdown is a Ferrite mode that generates usage documentation in markdown format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg mode.Config, options ...Option)

Run generates environment variable usage instructions in markdown format.

Types

type Option

type Option func(*renderer)

Option is a function that changes the behavior of a renderer.

func WithoutExplanatoryText added in v1.0.1

func WithoutExplanatoryText() Option

WithoutExplanatoryText disables the inclusion of the informational paragraphs in the rendered output.

func WithoutIndex

func WithoutIndex() Option

WithoutIndex disables the inclusion of the index in the rendered output.

func WithoutUsageExamples

func WithoutUsageExamples() Option

WithoutUsageExamples disables the inclusion of usage examples in the rendered output.

Jump to

Keyboard shortcuts

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