Skip to content

plissken-core::render

Rust

Rendering module for documentation output

This module provides theme adapters and rendering utilities for generating styled documentation that integrates with various static site generators.

Architecture

The rendering system consists of two main components:

  1. Theme Adapters - Map semantic color names to SSG-specific CSS variables
  2. Renderer - Tera-based template engine with theme injection

Examples:

use plissken_core::render::Renderer;
let renderer = Renderer::new(Some("mkdocs-material"), None).unwrap();
let badge = renderer.badge_async().unwrap();
// Badge uses MkDocs Material's CSS variables