_

Typical "How this blog works?"

2022-01-01

svelte

This blog is my playground to try some stuff on the front-end side. You might discover gems library or tricks you don't know in the following.

Data

The database of this blog is a list of markdown files, it leverage vite to prerender everything and give you this instant loading feeling.

src/articles/{date}/{slug}.md

Engine

It's built on top of sveltekit, a framework similar to nextjs but for svelte fans. Markdown is rendered with marked and code highlighting is made with prismjs.

Display

The majority of the styling is made with TailwindCSS, a very straightforward CSS framework.

Distribution

I opted for Cloudflare Pages, but it should be fine with Vercel or Netlify 😉.