Skip to content

How to write a new documentation article

You can add a new article by creating a new file in the pages/ directory or any of its subdirectories. Please only use markdown files and do not change anything on the existing CSS or TypeScript.

Front Matter

The article needs a front matter to be added to the sidebar and be easily viewable. 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.

yaml
---
title: "Your title here"
category: "Docs" # optional, falls back to folder name
date: "yyyy-mm-dd"
deprecated: false # optional
archived: false # optional
---

Markdown

Markdown is a lightweight markup language with plain-text-formatting syntax, created in 2004. You can find a useful cheatsheet here, and a useful online editor for it here.

Other programming/markup languages

We recommend only using markdown, but other languages can be used or included in the markdown file:

  • HTML
  • CSS (using the style html tag)
  • JavaScript (using the script html tag)
  • Vue components

NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT
This website was made using the VitePress framework. View the source here!