stranger-quarkdown
v4.2.3
Published
Markdown preprocessing for SvelteKit projects
Maintainers
Readme
Stranger Quarkdown
Docs · Quickstart · FAQ · Changelog · Site
Markdown preprocessing automation for Svelte/Kit projects.
Please visit the GitHub for the full README :]
Quickstart
Run:
> squarkdownWith extras:
> squarkdown --assets --fontsRemind yourself:
> squarkdown --helpLibrary
<script lang="ts">
import type { PageData } from "stranger-quarkdown";
import { page } from "$app/state";
let page_data: PageData<"long"> = $derived(page.data);
// if you set `out.shorter-fields = true`:
let shorter_page_data: PageData<"short"> = $derived(page.data);
</script>Squarkdown-Flavoured Markdown
# Welcome to Squarkdown!
<!-- #SQUARK live!
| dest = walkthrough/welcome
| capt = An introduction to what Squarkdown can do
| date = 2024 July 1
-->
This link to [other-file.md](other-file.md) will have its `.md` extension stripped.
<!-- #SQUARK slash? -->
This content won’t be included in the output.
<!-- #SQUARK slash. -->
<!-- #SQUARK only?
This content only shows up in the output.
#SQUARK only. -->