package
0.8.0
Repository: https://github.com/bytesparadise/libasciidoc.git
Documentation: pkg.go.dev

# Functions

NewConfiguration returns a new configuration.
WithAttribute function to set an attribute as if it was passed as an argument in the CLI.
WithAttributes function to set the `attribute overrides`.
WithBackEnd sets the backend format, valid values are "html", "html5", "xhtml", "xhtml5", and "" (defaults to html5).
WithCSS function to set the `css` setting in the config.
WithFigureCaption function to set the `fogure-caption` attribute.
WithFilename function to set the `filename` setting in the config.
WithHeaderFooter function to set the `include header/footer` setting in the config.
WithLastUpdated function to set the `last updated` option in the renderer context (default is `time.Now()`).
WithMacroTemplate defines the given template to a user macro with the given name.

# Constants

LastUpdatedFormat key to the time format for the `last updated` document attribute.

# Structs

Configuration the configuration used when rendering a document.

# Interfaces

MacroTemplate an interface of template for user macro.

# Type aliases

Setting a setting to customize the configuration used during parsing and rendering of a document.