render

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Longman5Online = "LONGMAN5/Online"
	LongmanEasy    = "LONGMAN/Easy"
	OLD9           = "OLD9"
)

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
	SourceType 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
JackTT - Gopher 🇻🇳