Module mdsite::render [−][src]
HTML generation
Structs
DiffStyle | Html to insert before and after diff chunks |
RenderConfig | |
Renderer | HBTemplate processor for HTML generation |
Functions
generate_diff | Generate diff between two text segments. Enclose additions with ... and deletions with add_style, e.g., "bg-green 100 text-gray-500" |
Type Definitions
Template | Pairing of template name and contents |