diff --git a/src/app.css b/src/app.css
index 358d034..011ebd9 100644
--- a/src/app.css
+++ b/src/app.css
@@ -74,7 +74,7 @@
@apply hover:bg-primary-100 dark:hover:bg-primary-800;
}
- /* Heading */
+ /* Section headers */
h1.h-leather,
h2.h-leather,
h3.h-leather,
diff --git a/src/lib/components/Preview.svelte b/src/lib/components/Preview.svelte
index c980b48..30b7f10 100644
--- a/src/lib/components/Preview.svelte
+++ b/src/lib/components/Preview.svelte
@@ -150,6 +150,27 @@
}
+{#snippet sectionHeading(title: string, depth: number)}
+ {@const headingLevel = Math.min(depth + 1, 6)}
+ {@const className = $pharosInstance.isFloatingTitle(rootId) ? 'discrete' : 'h-leather'}
+
+
+ {@html content} +
+ {:else} ++ {@html content} +
+ {/if} +{/snippet} +The page you are looking for does not exist or has been moved.
+