Expand description
Pipeline-level configuration. Compiled unconditionally so callers can describe the pipeline (themes, copy-linked-files paths, gfm switch, …) whether or not the matching feature flags are enabled.
When a config field describes a transformer whose feature is off,
Pipeline::with_defaults_for
silently skips it – the field is still allowed in the config so user
settings round-trip cleanly across builds with different feature sets.
Structs§
- Copy
Linked Files Options - Paths consumed by the
copy-linked-filestransformer. - Mermaid
Architecture Config - Mermaid
Block Config - Mermaid
C4Config - Mermaid
ErConfig - Mermaid
Flowchart Config - Mermaid
Gantt Config - Mermaid
GitGraph Config - Mermaid
Journey Config - Mermaid
Mindmap Config - Mermaid
Node Renderer Config - Mermaid
Options - Top-level mermaid configuration. Single flat object - every
mermaid.initialize()knob (themeVariables, flowchart, sequence, gantt, look, layout, …) lives at the same level as the dmc-side rendering knobs (responsiveSvg, centerLabels, outputDir, …). All fields are typed end-to-end; noserde_json::Valuecatch-all. - Mermaid
PieConfig - Mermaid
Radar Config - Mermaid
Requirement Config - Mermaid
Sankey Config - Mermaid
Sequence Config - Mermaid
Theme Variables - Mermaid
Timeline Config - Mermaid
Treemap Config - Mermaid
XyChart Config - Pipeline
Config - Top-level config consumed by
crate::Pipeline::with_defaults_for. All fields are optional; the empty config (PipelineConfig::default()) reproduces the historicalPipeline::with_defaults()behavior. - Pretty
Code Options - Top-level pretty-code configuration. Stored on
CompileConfigasOption<PrettyCodeOptions>;Nonemeans “use built-in defaults”.
Enums§
- CssDimension
- CSS dimension that mermaid accepts as either a numeric pixel value
(e.g.
14) or a string with units (e.g."14px","1.2em"). - CssFont
Weight - CSS font-weight: numeric (
400,700) or named string ("normal","bold"). - Math
Engine - Which engine renders
$...$/$$...$$math. - Mermaid
Align - Mermaid
ErLayout Direction - Mermaid
Flowchart Curve - Mermaid
Flowchart Renderer - Mermaid
Gantt Display Mode - Mermaid
Gantt Weekday - Mermaid
Layout - Mermaid
LogLevel - Mermaid
Look - Mermaid
Sankey Alignment - Mermaid
Security Level - Mermaid
Theme Mode - Mermaid theme spec. Either a single theme name (renders once,
attaches one
chartSvgattr) or a map ofmode -> theme namethat renders per-mode and attaches one${mode}Svgattr per entry. - Multi
Theme Strategy - How multi-theme pretty-code output is laid out in the DOM.
- Pretty
Code Theme - Pretty-code theme spec.