package codeblocks

import "github.com/gohugoio/hugo/markup/goldmark/codeblocks"

Index

Variables

var KindCodeBlock = ast.NewNodeKind("HugoCodeBlock")

KindCodeBlock is the kind of an Hugo code block.

Functions

func New

func New() goldmark.Extender

Types

type Transformer

type Transformer struct{}

func (*Transformer) Transform

func (*Transformer) Transform(doc *ast.Document, reader text.Reader, pctx parser.Context)

Transform transforms the provided Markdown AST.

Source Files

render.go transform.go

Version
v0.125.2
Published
Apr 20, 2024
Platform
linux/amd64
Imports
17 packages
Last checked
4 minutes ago

Tools for package owners.