extras – github.com/gohugoio/hugo-goldmark-extensions/extras Index | Files

package extras

import "github.com/gohugoio/hugo-goldmark-extensions/extras"

Index

Functions

func New

func New(config Config) goldmark.Extender

Types

type Config

type Config struct {
	Superscript SuperscriptConfig
	Subscript   SubscriptConfig
	Insert      InsertConfig
	Mark        MarkConfig
	Delete      DeleteConfig
}

Config configures the extras extension.

type DeleteConfig

type DeleteConfig struct {
	Enable bool
}

type InsertConfig

type InsertConfig struct {
	Enable bool
}

InsertConfig configures the insert extension.

type MarkConfig

type MarkConfig struct {
	Enable bool
}

MarkConfig configures the mark extension.

type SubscriptConfig

type SubscriptConfig struct {
	Enable bool
}

SubscriptConfig configures the subscript extension.

type SuperscriptConfig

type SuperscriptConfig struct {
	Enable bool
}

SuperscriptConfig configures the superscript extension.

Source Files

ast.go inline.go

Version
v0.3.0 (latest)
Published
Feb 12, 2025
Platform
darwin/amd64
Imports
8 packages
Last checked
now

Tools for package owners.