Conditional Composition

Use when a Markout report must adapt to its data — show or hide whole sections, drop table columns that are empty/uniform, filter output to a chosen set of sections, or render one model into several shapes ("one model, many views"). This is Markout's highest-value idiom: declare the conditions with attributes instead of hand-writing if/else + StringBuilder. Requires the base `markout` pattern (model + context + Serialize). Don't decompile the assembly or web-search the API — the conditional idioms are here.

richlander Updated

File contents

richlander/dotnet-package-skills/tree/main/examples/markout/skills/conditional-composition commit 01305a6382

Frequently asked questions

npx skillmds@latest add richlander/conditional-composition