video

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KindVideoBlock = gast.NewNodeKind("VideoBlock")

Functions

func NewParser

func NewParser() parser.BlockParser

func NewRenderer

func NewRenderer() renderer.NodeRenderer

Types

type Extension

type Extension struct{}

func (*Extension) Extend

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

type VideoBlock

type VideoBlock struct {
	gast.BaseBlock
	URL      string
	Platform string
	VideoID  string
	Title    string
	Ratio    string
	Autoplay bool
	Muted    bool
	Loop     bool
}

func (*VideoBlock) Dump

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

func (*VideoBlock) Kind

func (n *VideoBlock) Kind() gast.NodeKind

Jump to

Keyboard shortcuts

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