markdown

package
v1.10.10 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBlankLine       = errors.New("blank line")
	ErrEmptyText       = errors.New("empty text")
	ErrIncorrectFormat = errors.New("incorrect input format")
)

Functions

func IsSymbol added in v1.7.43

func IsSymbol(key string) bool

Types

type Markdown

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

func (*Markdown) Hierarchy

func (m *Markdown) Hierarchy() uint

func (*Markdown) Text

func (m *Markdown) Text() string

type Parser

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

一旦簡易なパーサー

func NewParser

func NewParser() *Parser

TODO: 要リファクタ

func (*Parser) Parse

func (p *Parser) Parse(row string) (*Markdown, error)

TODO: 要リファクタ

Jump to

Keyboard shortcuts

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