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.
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.
Multiple remark and rehype plugins to extend the basic functionality.
Remark plugins:
Rehype plugins
Other plugins
Simply run
pnpm install
to install all necessary dependencies.
You may also use npm or yarn.
Use pnpm dev to startup a dev server.
The website will be available at http://localhost:5173
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.
This project uses eslint and prettier to ensure consistent code format.