markup

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(rawBytes []byte, urlPrefix string, metas map[string]string, isWiki bool) []byte

Render renders orgmode rawbytes to HTML

func RenderString

func RenderString(rawContent string, urlPrefix string, metas map[string]string, isWiki bool) string

RenderString reners orgmode string to HTML string

Types

type Parser

type Parser struct {
}

Parser implements markup.Parser for orgmode

func (Parser) Extensions

func (Parser) Extensions() []string

Extensions implements markup.Parser

func (Parser) Name

func (Parser) Name() string

Name implements markup.Parser

func (Parser) Render

func (Parser) Render(rawBytes []byte, urlPrefix string, metas map[string]string, isWiki bool) []byte

Render implements markup.Parser

Jump to

Keyboard shortcuts

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