markdown

package
v0.82.2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Section

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

type Sections

type Sections []Section

func ParseMarkdown

func ParseMarkdown(data []byte) (Sections, error)

func (Sections) GetSectionAsHTML

func (s Sections) GetSectionAsHTML(title string) string

GetSectionAsHTML returns the section with the given title.

func (Sections) GetSectionAsMarkdown

func (s Sections) GetSectionAsMarkdown(title string) string

GetSectionAsMarkdown returns the section with the given title.

Jump to

Keyboard shortcuts

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