markdown

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EmojiArrowRight     = ":arrow_right:"
	EmojiWhiteCheckMark = ":white_check_mark:"
	EmojiCrossMark      = ":x:"
	EmojiLink           = ":link:"
	EmojiWarning        = ":warning:"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MarkdownBuilder

type MarkdownBuilder struct {
	// contains filtered or unexported fields
}

func NewMarkdownBuilder

func NewMarkdownBuilder() *MarkdownBuilder

func (*MarkdownBuilder) AddBulletPoint

func (mb *MarkdownBuilder) AddBulletPoint(text string)

func (*MarkdownBuilder) AddCodeSnippet

func (mb *MarkdownBuilder) AddCodeSnippet(code, language string)

func (*MarkdownBuilder) AddHeader

func (mb *MarkdownBuilder) AddHeader(level int, text string)

func (*MarkdownBuilder) AddNumberedPoint

func (mb *MarkdownBuilder) AddNumberedPoint(number int, text string)

func (*MarkdownBuilder) AddParagraph

func (mb *MarkdownBuilder) AddParagraph(text string)

func (*MarkdownBuilder) Build

func (mb *MarkdownBuilder) Build() string

Jump to

Keyboard shortcuts

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