mdhtml

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QuickRender

func QuickRender(w io.Writer, blocks []md.Tag) error

Types

type Blocker

type Blocker interface {
	HTMLBlock(Context, Opt) ([]md.Tag, error)
}

type Context

type Context struct {
	W    io.Writer
	Tags []md.Tag
	Err  error
}

func (*Context) Blocks

func (c *Context) Blocks(tags []md.Tag, opt Opt)

func (*Context) Printf

func (c *Context) Printf(format string, args ...interface{})

func (*Context) Spans

func (c *Context) Spans(tags []md.Tag, opt Opt)

type Opt

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

type Spaner

type Spaner interface {
	HTMLSpan(Context, Opt) ([]md.Tag, error)
}

Jump to

Keyboard shortcuts

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