gitea: Index | Files

package external

import ""


Package Files


func RegisterParsers Uses

func RegisterParsers()

RegisterParsers registers all supported third part parsers according settings

type Parser Uses

type Parser struct {

Parser implements markup.Parser for external tools

func (*Parser) Extensions Uses

func (p *Parser) Extensions() []string

Extensions returns the supported extensions of the tool

func (*Parser) Name Uses

func (p *Parser) Name() string

Name returns the external tool name

func (*Parser) Render Uses

func (p *Parser) Render(rawBytes []byte, urlPrefix string, metas map[string]string, isWiki bool) []byte

Render renders the data of the document to HTML via the external tool.

Package external imports 11 packages (graph) and is imported by 7 packages. Updated 2020-12-13. Refresh now. Tools for package owners.