<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Configs on Katalyst Documentation</title><link>https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/</link><description>Recent content in Configs on Katalyst Documentation</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/index.xml" rel="self" type="application/rss+xml"/><item><title>Discovery</title><link>https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/discovery/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/discovery/</guid><description>&lt;h1 id="discovery"&gt;Discovery&lt;a class="anchor" href="#discovery"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Katalyst reads a &lt;code&gt;.katalyst/&lt;/code&gt; directory, found by walking upward from the
current working directory to the nearest ancestor that contains one. That
ancestor is the repo root; all relative paths resolve against it.&lt;/p&gt;
&lt;p&gt;Discovery resolves symlinks on both the root and the input path, because on
macOS &lt;code&gt;$TMPDIR&lt;/code&gt; lives behind &lt;code&gt;/var&lt;/code&gt; to &lt;code&gt;/private/var&lt;/code&gt; and relative-path
resolution would otherwise produce garbage.&lt;/p&gt;
&lt;h2 id="layout"&gt;Layout&lt;a class="anchor" href="#layout"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;.katalyst/
 config.yaml # optional: listing defaults and discovery settings
 schemas/ # one JSON Schema file per named schema
 book.json
 bases/ # one file per base
 local.yaml # a base + the collections it declares
 local/ # optional: one file per collection (escape hatch)
 books.yaml&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;By default, schemas and bases are discovered by &lt;strong&gt;convention&lt;/strong&gt;:
every file under &lt;code&gt;schemas/&lt;/code&gt; is a schema whose name is its filename stem
(&lt;code&gt;book.json&lt;/code&gt; -&amp;gt; &lt;code&gt;book&lt;/code&gt;), and every file under &lt;code&gt;bases/&lt;/code&gt; is a
&lt;a href="https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/bases/"&gt;base&lt;/a&gt; named for its filename stem (&lt;code&gt;local.yaml&lt;/code&gt; -&amp;gt; &lt;code&gt;local&lt;/code&gt;).
&lt;code&gt;config.yaml&lt;/code&gt; is optional; it carries &lt;a href="https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/listing/"&gt;listing&lt;/a&gt; defaults and can
switch a kind to &lt;strong&gt;explicit&lt;/strong&gt; discovery, listing definitions inline instead of
as files.&lt;/p&gt;</description></item><item><title>Schemas</title><link>https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/schemas/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/schemas/</guid><description>&lt;h1 id="schemas"&gt;Schemas&lt;a class="anchor" href="#schemas"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Each file under &lt;code&gt;.katalyst/schemas/&lt;/code&gt; is a JSON Schema. Its &lt;strong&gt;name&lt;/strong&gt;, the
filename stem, is the stable public handle used by &lt;code&gt;schema get &amp;lt;name&amp;gt;&lt;/code&gt;, by
an inline &lt;code&gt;schema: &amp;lt;name&amp;gt;&lt;/code&gt; key in a document&amp;rsquo;s frontmatter, and by a
collection&amp;rsquo;s &lt;code&gt;schema:&lt;/code&gt; shorthand. The path can move; the name should not.&lt;/p&gt;
&lt;p&gt;Schemas are stored flat; the check library that compiles a schema is determined
by the referencing check type&amp;rsquo;s &lt;code&gt;kind&lt;/code&gt; (the &lt;code&gt;object&lt;/code&gt; check uses JSON Schema).&lt;/p&gt;</description></item><item><title>Bases</title><link>https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/bases/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/bases/</guid><description>&lt;h1 id="bases"&gt;Bases&lt;a class="anchor" href="#bases"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;A &lt;strong&gt;base&lt;/strong&gt; is one configured backend store, plus the collections it maps onto
the domain model. Each file under &lt;code&gt;.katalyst/bases/&lt;/code&gt; is one base, named for its
filename stem. There is no implicit base; &lt;code&gt;katalyst init&lt;/code&gt; writes a default
&lt;code&gt;local&lt;/code&gt; one.&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Key&lt;/th&gt;
					&lt;th&gt;Required&lt;/th&gt;
					&lt;th&gt;Default&lt;/th&gt;
					&lt;th&gt;Meaning&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;type&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;no&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;filesystem&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;Backend kind: &lt;code&gt;filesystem&lt;/code&gt; or &lt;code&gt;sqlite&lt;/code&gt;.&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;root&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;no&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;.&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;Base root directory, relative to the repo root. Collection paths resolve against it.&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;path&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;for &lt;code&gt;sqlite&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;-&lt;/td&gt;
					&lt;td&gt;SQLite database path, relative to the repo root. Alias for &lt;code&gt;root&lt;/code&gt; on SQLite bases.&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;collections&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;no&lt;/td&gt;
					&lt;td&gt;-&lt;/td&gt;
					&lt;td&gt;Map of collection name -&amp;gt; definition. See &lt;a href="https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/collections/"&gt;Collections&lt;/a&gt;.&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# .katalyst/bases/local.yaml&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;type&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;filesystem&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;root&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;.&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;collections&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;books&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;path&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;notes/books&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;schema&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;book&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;checks&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;kind&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;markdown_title_matches_h1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Collection names are unique across the whole project (selectors are
&lt;code&gt;&amp;lt;collection&amp;gt;/&amp;lt;item&amp;gt;&lt;/code&gt;, with no base qualifier).&lt;/p&gt;</description></item><item><title>Collections</title><link>https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/collections/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/collections/</guid><description>&lt;h1 id="collections"&gt;Collections&lt;a class="anchor" href="#collections"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;A &lt;strong&gt;collection&lt;/strong&gt; is a directory of items plus the checks every item must pass.
Collections are declared inside their base, under &lt;code&gt;collections:&lt;/code&gt;.&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Key&lt;/th&gt;
					&lt;th&gt;Required&lt;/th&gt;
					&lt;th&gt;Default&lt;/th&gt;
					&lt;th&gt;Meaning&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;path&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;no&lt;/td&gt;
					&lt;td&gt;the collection name&lt;/td&gt;
					&lt;td&gt;Directory, relative to the base &lt;code&gt;root&lt;/code&gt;.&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;pattern&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;no&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;*.md&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;Filename glob selecting items in the directory.&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;table&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;for &lt;code&gt;sqlite&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;-&lt;/td&gt;
					&lt;td&gt;SQLite table backing the collection.&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;id&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;for &lt;code&gt;sqlite&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;-&lt;/td&gt;
					&lt;td&gt;SQLite column that provides item identity.&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;attributes&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;no&lt;/td&gt;
					&lt;td&gt;all scalar columns except &lt;code&gt;id&lt;/code&gt; and &lt;code&gt;content.column&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;SQLite column captures exposed as item attributes.&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;content&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;no&lt;/td&gt;
					&lt;td&gt;-&lt;/td&gt;
					&lt;td&gt;Optional SQLite content mapping, with &lt;code&gt;kind: text&lt;/code&gt; or &lt;code&gt;kind: markdown&lt;/code&gt; and &lt;code&gt;column: &amp;lt;name&amp;gt;&lt;/code&gt;.&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;no&lt;/td&gt;
					&lt;td&gt;-&lt;/td&gt;
					&lt;td&gt;Schema name; shorthand for a leading &lt;code&gt;object&lt;/code&gt; check.&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;checks&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;no&lt;/td&gt;
					&lt;td&gt;-&lt;/td&gt;
					&lt;td&gt;List of checks. See &lt;a href="https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/checks/"&gt;Checks&lt;/a&gt;.&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;listing&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;no&lt;/td&gt;
					&lt;td&gt;-&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;item list&lt;/code&gt; listing defaults for this collection. See &lt;a href="https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/listing/"&gt;Listing&lt;/a&gt;.&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;A collection must configure at least one check: set &lt;code&gt;schema&lt;/code&gt;, or provide a
non-empty &lt;code&gt;checks&lt;/code&gt; list, or both. Files in the directory that do not match
&lt;code&gt;pattern&lt;/code&gt; are reported as errors.&lt;/p&gt;</description></item><item><title>Checks</title><link>https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/checks/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/checks/</guid><description>&lt;h1 id="checks"&gt;Checks&lt;a class="anchor" href="#checks"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Each entry in a collection&amp;rsquo;s &lt;code&gt;checks:&lt;/code&gt; list has a &lt;code&gt;kind&lt;/code&gt; and the keys that
check type requires. Every check type is documented one per page in the
&lt;a href="https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/check-types/"&gt;check types reference&lt;/a&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;checks&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;kind&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;object&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;schema&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;book&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;kind&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;object_field_type&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;field&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;year&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;type&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;integer&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;kind&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;markdown_title_matches_h1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;kind&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;filesystem_name_matches_field&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="text-rules"&gt;Text rules&lt;a class="anchor" href="#text-rules"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;text_*&lt;/code&gt; check types lint the item &lt;strong&gt;body&lt;/strong&gt; as raw text, independent of
markdown structure, and also apply to plain-text items (a &lt;code&gt;.txt&lt;/code&gt; file or a
markdown file with no frontmatter). Each is evaluated against a set of &lt;strong&gt;spans&lt;/strong&gt;
chosen by &lt;code&gt;target&lt;/code&gt;:&lt;/p&gt;</description></item><item><title>Variants</title><link>https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/variants/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/variants/</guid><description>&lt;h1 id="variants"&gt;Variants&lt;a class="anchor" href="#variants"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;A collection runs its base &lt;code&gt;schema&lt;/code&gt;/&lt;code&gt;checks&lt;/code&gt; against every item. &lt;strong&gt;Variants&lt;/strong&gt;
let it run &lt;em&gt;extra&lt;/em&gt; checks on a subset, chosen by the item&amp;rsquo;s metadata. Each
entry in a collection&amp;rsquo;s &lt;code&gt;variants:&lt;/code&gt; list has a &lt;code&gt;when&lt;/code&gt; discriminator and its own
&lt;code&gt;schema&lt;/code&gt;/&lt;code&gt;checks&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;pages&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;path&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;docs/content&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;pattern&lt;/span&gt;: &lt;span style="color:#e6db74"&gt;&amp;#34;**/*.md&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;schema: page # base&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;every page needs a title&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;variants&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;when&lt;/span&gt;: &lt;span style="color:#e6db74"&gt;&amp;#34;bookCollapseSection&amp;#34;&lt;/span&gt; &lt;span style="color:#75715e"&gt;# section landing pages have this flag&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;schema&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;section_index&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;when&lt;/span&gt;: &lt;span style="color:#e6db74"&gt;&amp;#34;!bookCollapseSection&amp;#34;&lt;/span&gt; &lt;span style="color:#75715e"&gt;# every other page is a content page&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;schema&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;content_page&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;checks&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;kind&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;object_required_field&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;field&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;weight&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;kind&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;markdown_requires_h1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;useExhaustiveVariants&lt;/span&gt;: &lt;span style="color:#66d9ef"&gt;false&lt;/span&gt; &lt;span style="color:#75715e"&gt;# default&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;&lt;code&gt;when&lt;/code&gt;&lt;/strong&gt; is a list of &lt;a href="https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/cli/#filter-predicates"&gt;&lt;code&gt;item list --filter&lt;/code&gt;&lt;/a&gt;
predicates (&lt;code&gt;field=value&lt;/code&gt;, &lt;code&gt;field&amp;gt;=n&lt;/code&gt;, &lt;code&gt;field=~regex&lt;/code&gt;, &lt;code&gt;!field&lt;/code&gt;, &amp;hellip;), evaluated
against the item&amp;rsquo;s frontmatter. All entries must hold (AND). Three shapes are
accepted, the first two desugaring to the third:&lt;/p&gt;</description></item><item><title>Listing</title><link>https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/listing/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-124--stately-starburst-216875.netlify.app/reference/configs/listing/</guid><description>&lt;h1 id="listing"&gt;Listing&lt;a class="anchor" href="#listing"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Two &lt;code&gt;item list&lt;/code&gt; behaviors have configurable defaults. A &lt;code&gt;listing:&lt;/code&gt; block sets
them project-wide in &lt;code&gt;.katalyst/config.yaml&lt;/code&gt;, and a collection&amp;rsquo;s file can
override either key for that collection.&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Key&lt;/th&gt;
					&lt;th&gt;Values&lt;/th&gt;
					&lt;th&gt;Default&lt;/th&gt;
					&lt;th&gt;Meaning&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;filterTypeMismatch&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;skip&lt;/code&gt; / &lt;code&gt;error&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;skip&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;A &lt;code&gt;--filter&lt;/code&gt; comparison against an incompatible type either skips the item or exits 2.&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;sortMissing&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;last&lt;/code&gt; / &lt;code&gt;lowest&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;last&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;Where items lacking the &lt;code&gt;--sort&lt;/code&gt; key land: at the end (both directions), or below any present value.&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# .katalyst/config.yaml - project default&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;listing&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;filterTypeMismatch&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;skip&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;sortMissing&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;last&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# under a base&amp;#39;s collections: override for one collection&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;books&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;path&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;notes/books&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;schema&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;book&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;listing&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;filterTypeMismatch&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;error&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Resolution is highest-precedence first: the &lt;code&gt;--on-type-mismatch&lt;/code&gt; /
&lt;code&gt;--sort-missing&lt;/code&gt; flags, then the collection&amp;rsquo;s &lt;code&gt;listing:&lt;/code&gt;, then the project
&lt;code&gt;listing:&lt;/code&gt;, then the built-in default. An unset key falls through to the next
level.&lt;/p&gt;</description></item></channel></rss>