extend

package
v0.0.0-...-553e66b Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

WIP - Experimental adventure plugin, this might find a new home soon, but it's here to stress test Gosora's extensibility for now

Highly experimental plugin for caching rendered pages for guests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BbcodeFullParse

func BbcodeFullParse(msg string) string

Does every type of BBCode

func BbcodeParseWithoutCode

func BbcodeParseWithoutCode(msg string) string

Here for benchmarking purposes. Might add a plugin setting for disabling [code] as it has it's paws everywhere

func BbcodeRegexParse

func BbcodeRegexParse(msg string) string

func BbcodeStripTags

func BbcodeStripTags(msg string) string

func InitBbcode

func InitBbcode(pl *c.Plugin) error

func InitMarkdown

func InitMarkdown(pl *c.Plugin) error

func MarkdownParse

func MarkdownParse(msg string) string

An adapter for the parser, so that the parser can call itself recursively. This is less for the simple Markdown elements like bold and italics and more for the really complicated ones I plan on adding at some point.

Types

type Hyperspace

type Hyperspace struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis
adventure
lib
lib

Jump to

Keyboard shortcuts

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