styles

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Style

type Style struct {
	Tag         string
	SpecialChar string
}

type StyleGroup

type StyleGroup struct {
	Styles map[string]Style
}

func NewGroup

func NewGroup() *StyleGroup

func (*StyleGroup) AddStyle

func (s *StyleGroup) AddStyle(body string, styleName string) string

func (*StyleGroup) ApplyStyles

func (s *StyleGroup) ApplyStyles(body string) string

Jump to

Keyboard shortcuts

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