mark

package
v0.0.0-...-213088b Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompileMarkdown

func CompileMarkdown(markdown []byte, stdlib *stdlib.Lib, path string, mermaidProvider string, mermaidScale float64, dropFirstH1 bool, stripNewlines bool) (string, []attachment.Attachment)

Types

type ConfluenceExtension

type ConfluenceExtension struct {
	html.Config
	Stdlib          *stdlib.Lib
	Path            string
	MermaidProvider string
	MermaidScale    float64
	DropFirstH1     bool
	StripNewlines   bool
	Attachments     []attachment.Attachment
}

Renderer renders anchor [Node]s.

func NewConfluenceExtension

func NewConfluenceExtension(stdlib *stdlib.Lib, path string, mermaidProvider string, mermaidScale float64, dropFirstH1 bool, stripNewlines bool) *ConfluenceExtension

NewConfluenceRenderer creates a new instance of the ConfluenceRenderer

func (*ConfluenceExtension) Attach

func (*ConfluenceExtension) Extend

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

Jump to

Keyboard shortcuts

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