ysmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHead2Content

func GetHead2Content(line string) (string, error)

func GetHeadXById

func GetHeadXById(line string, id string) int

func GetHeadXContent

func GetHeadXContent(line string) (string, error)

func GetListContent

func GetListContent(line string) string

func Head1Split

func Head1Split(line string) []string

func IsCodeBlockMark

func IsCodeBlockMark(line string) bool

IsCodeBlockMark 判断是否为 代码块标记

func IsCodeXStart

func IsCodeXStart(line string, codeType string) bool

IsCodeXStart 判断是否为 指定代码块开始

func IsEndExport

func IsEndExport(line string) bool

func IsEndInclude

func IsEndInclude(line string) bool

func IsExport

func IsExport(line string) bool

func IsHead

func IsHead(line string) bool

func IsHead1

func IsHead1(line string) bool

func IsHead2

func IsHead2(line string) bool

func IsHead3

func IsHead3(line string) bool

func IsHead4

func IsHead4(line string) bool

func IsHead5

func IsHead5(line string) bool

func IsHead6

func IsHead6(line string) bool

func IsHeadX

func IsHeadX(line string, x int) bool

func IsInclude

func IsInclude(line string) bool

func IsList

func IsList(line string) bool

func IsPlantUmlStart

func IsPlantUmlStart(line string) bool

func IsTableStart

func IsTableStart(line string) bool

func LiteMustacheToMap

func LiteMustacheToMap(line string) g.MapStrStr

func RemoveSpecialSign

func RemoveSpecialSign(line string) string

RemoveSpecialSign 移除文字中的特殊标记 标记为 `:(.*):`

func TableSplit

func TableSplit(line string) (split []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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