protyle

package module
v0.0.0-...-2743f8d Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MulanPSL-2.0 Imports: 8 Imported by: 1

README

Protyle

SiYuan doc data (.sy) parser and renderer.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJSONRenderer

func NewJSONRenderer(tree *parse.Tree, options *render.Options) render.Renderer

func NewParagraph

func NewParagraph() (ret *ast.Node)

func ParseJSON

func ParseJSON(luteEngine *lute.Lute, jsonData []byte) (ret *parse.Tree, needFix bool, err error)

func ParseJSONWithoutFix

func ParseJSONWithoutFix(luteEngine *lute.Lute, jsonData []byte) (ret *parse.Tree, err error)

Types

type JSONRenderer

type JSONRenderer struct {
	*render.BaseRenderer
}

Jump to

Keyboard shortcuts

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