mdext

package
v0.1.12-0...-cdc76dd Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

source https://github.com/jschaf/b2/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageExt

type ImageExt struct {
	ImagePathHandlerConfig
}

ImageExt extends markdown with the transformer and renderer.

func NewImageExt

func NewImageExt(imagePathHandler ImagePathHandler) *ImageExt

NewImageExt is

func (*ImageExt) Extend

func (i *ImageExt) Extend(m goldmark.Markdown)

Extend is

type ImagePathHandler

type ImagePathHandler func(string) (string, error)

ImagePathHandler is

type ImagePathHandlerConfig

type ImagePathHandlerConfig struct {
	// contains filtered or unexported fields
}

ImagePathHandlerConfig is

Jump to

Keyboard shortcuts

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