internal

package
v0.112.4 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasAsciiDoc

func HasAsciiDoc() bool

Types

type AsciidocConverter

type AsciidocConverter struct {
	Ctx converter.DocumentContext
	Cfg converter.ProviderConfig
}

func (*AsciidocConverter) AppendArg

func (a *AsciidocConverter) AppendArg(args []string, option, value, defaultValue string, allowedValues map[string]bool) []string

func (*AsciidocConverter) Convert

func (*AsciidocConverter) GetAsciidocContent

func (a *AsciidocConverter) GetAsciidocContent(src []byte, ctx converter.DocumentContext) ([]byte, error)

GetAsciidocContent calls asciidoctor as an external helper to convert AsciiDoc content to HTML.

func (*AsciidocConverter) ParseArgs

func (a *AsciidocConverter) ParseArgs(ctx converter.DocumentContext) []string

func (*AsciidocConverter) Supports

func (a *AsciidocConverter) Supports(_ identity.Identity) bool

type AsciidocResult

type AsciidocResult struct {
	converter.ResultRender
	// contains filtered or unexported fields
}

func (AsciidocResult) TableOfContents

func (r AsciidocResult) TableOfContents() *tableofcontents.Fragments

Jump to

Keyboard shortcuts

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