mdutils

package
v0.0.0-...-7758a72 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Whites = "\x09\x0a\x0c\x0d\x20"

Whites contains all whitespace characters as defined by VFMD specification.

Variables

This section is empty.

Functions

func DeEscape

func DeEscape(s string) string

func DeEscapeProse

func DeEscapeProse(p md.Prose) md.Prose

func DelWhites

func DelWhites(s string) string

func IsWhite

func IsWhite(b byte) bool

func OffsetIn

func OffsetIn(s, span []byte) (int, bool)

func Simplify

func Simplify(buf []byte) string

Types

type CodeSpanDetector

type CodeSpanDetector struct {
	Within bool
	// contains filtered or unexported fields
}

TODO(akavel): this struct will be useful when implementing HTML; should be deleted for now, as it's unused and untested.

func (*CodeSpanDetector) WriteByte

func (c *CodeSpanDetector) WriteByte(b byte) error

Jump to

Keyboard shortcuts

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