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.118.0
Published
Aug 31, 2023
Platform
linux/amd64
Imports
17 packages
Last checked
2 hours ago

Tools for package owners.