Package-level declarations

Types

Link copied to clipboard
class CssFontFacesImporter(families: List<FontFamily>, mediaStorage: ReadOnlyMediaStorage)

Generator of @font-face and @import CSS rules for a list of FontFamily, to be used in HTML post-rendering. It supports system, local, and remote media sources.

Link copied to clipboard
class HtmlDocumentBuilder(context: Context, relativePathToRoot: String, sidebarContent: CharSequence)

Builds a full HTML document wrapping the rendered content, replacing the old template-based approach. Uses kotlinx.html DSL to programmatically construct the document structure.

Link copied to clipboard

Generates the CSS <style> content for an HTML document, including font-face imports, CSS custom properties, and layout rules derived from the document's configuration.