linkify

package
v0.0.0-...-f005d13 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2025 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Package linkify renders links as URLs.

Index

Constants

This section is empty.

Variables

View Source
var Kind = ast.NewNodeKind("linkify")

Functions

This section is empty.

Types

type Extender

type Extender struct{}

func (*Extender) Extend

func (e *Extender) Extend(m goldmark.Markdown)

type Node

type Node struct {
	ast.BaseInline

	Link []byte
	// contains filtered or unexported fields
}

func (*Node) Dump

func (n *Node) Dump(src []byte, level int)

func (*Node) Kind

func (*Node) Kind() ast.NodeKind

type Parser

type Parser struct{}

func (*Parser) Parse

func (p *Parser) Parse(_ ast.Node, block text.Reader, _ parser.Context) ast.Node

func (*Parser) Trigger

func (p *Parser) Trigger() []byte

type Renderer

type Renderer struct{}

func (*Renderer) RegisterFuncs

func (r *Renderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer)

Jump to

Keyboard shortcuts

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