render

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SeparatorClose = "}"
View Source
var SeparatorOpen = "{"

Functions

func IsElement

func IsElement(n *html.Node, ele string, class string) bool

func ParseHTML

func ParseHTML(info io.Reader) string

func ParseMDX

func ParseMDX(info io.Reader, ft string) string

Types

type HTMLRender

type HTMLRender struct {
	Raw string
}

func (*HTMLRender) Render

func (h *HTMLRender) Render() string

type Renderer

type Renderer interface {
	Render() string
}

Jump to

Keyboard shortcuts

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