Package-level declarations

Types

Link copied to clipboard

A rendering strategy, which converts nodes from the AST to their output code representation.

Link copied to clipboard
interface PostRenderer

Strategy used to run the post-rendering stage: the rendered content from the rendering stage is injected into a template offered by the post-renderer. Additionally, the post-renderer provides the output resources that can be saved to file.

Link copied to clipboard

Visitor for PostRenderers

Link copied to clipboard
data class RenderingComponents(val nodeRenderer: NodeRenderer, val postRenderer: PostRenderer)

A pair of a node renderer and a post-renderer, provided by a com.quarkdown.core.flavor.RendererFactory. For example, an HTML node renderer converts a node to an HTML tag, and an HTML post-renderer wraps the rendered content in a template. Hence, it's a good idea to pair them together to ensure consistency.

Link copied to clipboard

An exception thrown when a com.quarkdown.core.rendering.NodeRenderer tries rendering a node which is unsupported by its flavor.

Functions

Link copied to clipboard

Wraps rendered code in a template.