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
}

Config confitures the extras extension.

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.1.0
Published
May 5, 2024
Platform
darwin/amd64
Imports
7 packages
Last checked
now

Tools for package owners.