Documentation ¶
Index ¶
- func HasAsciiDoc() bool
- type AsciidocConverter
- func (a *AsciidocConverter) AppendArg(args []string, option, value, defaultValue string, ...) []string
- func (a *AsciidocConverter) Convert(ctx converter.RenderContext) (converter.ResultRender, error)
- func (a *AsciidocConverter) GetAsciidocContent(src []byte, ctx converter.DocumentContext) ([]byte, error)
- func (a *AsciidocConverter) ParseArgs(ctx converter.DocumentContext) []string
- func (a *AsciidocConverter) Supports(_ identity.Identity) bool
- type AsciidocResult
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) Convert ¶
func (a *AsciidocConverter) Convert(ctx converter.RenderContext) (converter.ResultRender, error)
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
type AsciidocResult ¶
type AsciidocResult struct { converter.ResultRender // contains filtered or unexported fields }
func (AsciidocResult) TableOfContents ¶
func (r AsciidocResult) TableOfContents() *tableofcontents.Fragments
Click to show internal directories.
Click to hide internal directories.