What is Squarkdown?

Last updated 2026 July 10

Stranger Quarkdown, or Squarkdown (/ˌskwɑːkdaʊn/) for short, is a Markdown build tool for SvelteKit projects using MDsveX.

No, it’s not yet another JavaScript framework, nor is it a documentation generator like MkDocs or CDN like Wordpress.

At its core, it takes Markdown files scattered across your repo, and preprocesses them to +page.svx and +page.ts files in your SvelteKit site:

  /project/
     docs/
        README.md
        help/
           quickstart.md
  
     site/
        src/
           routes/
+             +page.svx
+             +page.ts
  
+             quickstart/
+                +page.svx
+                +page.ts

Squarkdown also allows you to use Squarkdown-flavoured Markdown hidden inside comments to control how the Markdown is rendered.

For instance, if you have some text that you want in your repo, but not in the site, you can tell Squarkdown to remove it using #SQUARK slash (a squark):

Never gonna give you up

<!-- #SQUARK slash? -->
Hi, GitHub!
<!-- #SQUARK slash. -->

Never gonna let you down