plugin

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractUserAccountIDs added in v0.3.0

func ExtractUserAccountIDs(html string) []string

ExtractUserAccountIDs finds all user account IDs in the HTML

func ParseConfluenceImage

func ParseConfluenceImage(html string) string

ParseConfluenceImage extracts filename from Confluence ac:image elements

Types

type ConfluencePlugin

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

func NewConfluencePlugin

func NewConfluencePlugin(resolver attachments.Resolver, imageFolder string) *ConfluencePlugin

NewConfluencePlugin creates a new plugin for Confluence elements

func NewConfluencePluginWithClient added in v0.3.0

func NewConfluencePluginWithClient(client confluence.Client, resolver attachments.Resolver, imageFolder string) *ConfluencePlugin

NewConfluencePluginWithClient creates a plugin with API client access for user resolution

func (*ConfluencePlugin) Init

func (p *ConfluencePlugin) Init(conv *converter.Converter) error

Init initializes the plugin

func (*ConfluencePlugin) Name

func (p *ConfluencePlugin) Name() string

Name returns the plugin name

func (*ConfluencePlugin) SetCurrentPage

func (p *ConfluencePlugin) SetCurrentPage(page *model.ConfluencePage)

SetCurrentPage records which page is currently being converted

Directories

Path Synopsis
mock
Package mock_attachments is a generated GoMock package.
Package mock_attachments is a generated GoMock package.

Jump to

Keyboard shortcuts

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