# Configuration

Settings come from four places, from lowest to highest priority:

1. **defaults** of the engine;
2. **`recit.config.ts`**, found next to the deck or in a parent folder;
3. the deck **front matter**;
4. the **slide options** on a `---` line.

<FeatureGrid cols={3}>
  <FeatureCard icon="⚙️" title="recit.config" description="Every option of the configuration file." href="/documentation/configuration/recit-config" />
  <FeatureCard icon="🪪" title="Slide options" description="Front matter keys and per-slide options." href="/formats/deck/slide-options" />
  <FeatureCard icon="📏" title="Density rules" description="Limits and diagnostics for overloaded slides." href="/formats/deck/density-rules" />
</FeatureGrid>
