How to write a new documentation article
You can add a new article by creating a new file in the
src/routes/pages directory or any of its subdirectories.
The article needs a front matter to get recognized automatically. It has to be the first thing in the file and defines the title and other properties of your article. Below you can see an example.
--- title: 'Your title here' type: 'Docs' date: 'dd/mm/yyyy' deprecated: false archived: false ---
Markdown is a lightweight markup language with plain-text-formatting syntax, created in 2004.
You can find a useful cheatsheet here.
You can find a useful online editor for it here (click the blue button saying:
use for free).
Other programming/markup languages
We recommend only using markdown, but other languages can be used or included in the markdown file:
- CSS (using the
- SvelteKit logic blocks