extension

package
v1.0.1-0...-9290184 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Confluence

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

Confluence is a Goldmark extension that renders markdown content compatable with Confluence

func NewConfluenceExtension

func NewConfluenceExtension(filePath string, files map[string]string) *Confluence

NewConfluenceExtension returns an instanciated instance of Confluence

func (*Confluence) Extend

func (c *Confluence) Extend(m goldmark.Markdown)

Extend markdown custom HTML render

func (*Confluence) Images

func (c *Confluence) Images() []string

Images returns a slice of image paths for later upload

func (*Confluence) ShouldReprocess

func (c *Confluence) ShouldReprocess() bool

ShouldReprocess returns whether or not we should reprocess the upload (eg, the follow-link URls weren't found)

Jump to

Keyboard shortcuts

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