plugin

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Compiler = map[string]func(buf *[]byte, iexMode bool){}
View Source
var CompilerHTML = map[string]bool{}
View Source
var CompilerTags = map[string]string{}

Functions

func AddCompiler

func AddCompiler(name string, html bool, tags []string, cb func(buf *[]byte, iexMode bool)) error

AddCompiler adds a lang compiler method

@name: .ext

@html: include initial html compiler

@tags: html <tags> to compile content </tags>

@cb: method to run when compiling

Types

This section is empty.

Jump to

Keyboard shortcuts

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