videoembed

package
v0.0.0-...-02bf5d9 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KindVideoEmbed = ast.NewNodeKind("VideoEmbed")

Functions

func NewVideoEmbedExtender

func NewVideoEmbedExtender(view types.HTMLView) goldmark.Extender

NewVideoEmbed creates a new goldmark.Extender that allow you to parse text that seems like a @uservideoEmbed

func NewVideoEmbedRenderer

func NewVideoEmbedRenderer(view types.HTMLView, opts ...html.Option) renderer.NodeRenderer

func NewVideoEmbedTransformer

func NewVideoEmbedTransformer(parser media.MediaParser) *videoEmbedTransfomer

Types

type VideoEmbed

type VideoEmbed struct {
	ast.BaseBlock
	// contains filtered or unexported fields
}

func NewVideoEmbed

func NewVideoEmbed(media media.MediaLink) *VideoEmbed

func (*VideoEmbed) Dump

func (n *VideoEmbed) Dump(source []byte, level int)

func (*VideoEmbed) Kind

func (n *VideoEmbed) Kind() ast.NodeKind

type VideoEmbedRenderer

type VideoEmbedRenderer struct {
	html.Config
	// contains filtered or unexported fields
}

func (*VideoEmbedRenderer) RegisterFuncs

Jump to

Keyboard shortcuts

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