Skip to content

Ratsch0k/blog

Repository files navigation

Personal Blog

Website of my personal blog written with sveltekit.

Posts are written in markdown and converted into html using mdsvex to create a static website.

The project is nowhere near final. Therefore, the exact structure is subject to change.

Posts

The markdown files of all posts are stored in src/content. Each post has its own folder and the folder name is used as a slug to navigate to it. The blog's markdown file should be named index.md and must live inside the post directory.

Supported Features

Multiple remark and rehype plugins to extend the basic functionality.

Remark plugins:

Rehype plugins

Other plugins

How To Install

Simply run

pnpm install

to install all necessary dependencies. You may also use npm or yarn.

Commands

Dev Server

Use pnpm dev to startup a dev server. The website will be available at http://localhost:5173

Build

Build the static website with pnpm build. This will generate all static html files and bundle up javascript files. After the command is done, the generated static website can be found in the directory build.

Code Format

This project uses eslint and prettier to ensure consistent code format.

About

Personal blog website

Resources

License

Stars

Watchers

Forks

Packages

No packages published