md

package
Version: v0.0.0-...-d144a35 Latest Latest
Warning

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

Go to latest
Published: May 6, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Replace

func Replace(content string, pat *Patterns) string

Replace .

Types

type Patterns

type Patterns struct {
	EmptyTags     []Tag `json:"empty_tags"`
	ContainerTags []Tag `json:"container_tags"`
}

Patterns .

func LoadPatterns

func LoadPatterns(filename string) *Patterns

LoadPatterns .

type Tag

type Tag struct {
	Name       string `json:"name"`
	OpenWrap   string `json:"open_wrap"`
	CloseWrap  string `json:"close_wrap"`
	LinePrefix string `json:"line_prefix"`
}

Tag .

Source Files

Jump to

Keyboard shortcuts

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