Skip to content

Wiki Contributors Vault - Markdown 101

Markdown is a lightweight markup language that allows you to format text using simple syntax. It’s widely used for writing documentation, including our wiki pages. Here’s a basic introduction to Markdown to help you get started with contributing to the wiki.

Later on, we will also cover MDX, which is an extension of Markdown that allows us to use React components in our markdown files, giving us more flexibility and interactivity in our wiki pages.

You can create headings by using the # symbol followed by a space and the heading text.

# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6

You may use as many # symbols as you want, but it’s common practice to use them in a hierarchical manner. Use # for the main title, ## for section titles, and so on.

You can emphasize text using asterisks * or underscores _.

Italic text can be created by wrapping the text in a single asterisk or underscore.

*Italic* or _Italic_

Bold text can be created by wrapping the text in double asterisks or underscores.

**Bold** or __Bold__

You can also combine them for bold and italic text.

***Bold and Italic***

You can create ordered and unordered lists.

Unordered lists use asterisks *, plus signs +, or hyphens - as bullet points.

- Item 1
* Item 2
+ Item 3

Preview:

  • Item 1
  • Item 2
  • Item 3

Ordered lists use numbers followed by a period.

1. First item
2. Second item
3. Third item

Preview:

  1. First item
  2. Second item
  3. Third item

You can create links using the following syntax:

[Link text](URL)

For example:

[Proton](https://www.proton.me)

Preview: Proton

You can add images using a similar syntax to links, but with an exclamation mark ! at the beginning:

![Alt text](Image URL)

For example:

![Silly Bnuy](https://distinct-errors.fr/SillyBnuy.png)

Preview: Silly Bnuy

You can format inline code by wrapping it in backticks `:

`Inline code`

For code blocks, you can use triple backticks:

# Heading

You can create blockquotes by using the > symbol followed by a space and the quoted text.

> This is a blockquote.

Preview:

This is a blockquote.

You can create tables using pipes | and hyphens -.

| Column 1 | Column 2 | Column 3 |
| -------- | -------- | -------- |
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |

Preview:

Column 1Column 2Column 3
Cell 1Cell 2Cell 3
Cell 4Cell 5Cell 6

You can strikethrough text by wrapping it in double tildes ~~.

~~Strikethrough~~

Preview: Strikethrough

You can create a horizontal divider using three or more hyphens ---, asterisks ***, or underscores ___.

---

Preview:


You can create task lists using - [ ] for unchecked and - [x] for checked items.

- [x] Completed task
- [ ] Incomplete task
- [ ] Another task

Preview:

  • Completed task
  • Incomplete task
  • Another task

Now, you know the basics of Markdown! With this knowledge, you can start contributing to the wiki by formatting your content using Markdown syntax.

Adding to Markdown, we also have MDX, which allows us to use React components in our markdown files. This means that you can use components like Badge, Aside, LinkCard, and more to enhance your wiki pages with interactive and styled elements.

Cards are a cool way to highlight important information or create visually appealing sections on your wiki pages.

This is just a normal card, with a title and some content. You can use it to highlight important information.

normalCardExemple.mdx
import { Card } from '@astrojs/starlight/components';
<Card title="Check this out">Interesting content you want to highlight.</Card>

Preview:

Check this out

Interesting content you want to highlight.

This is Normal Card, but better!

iconCardExemple.mdx
import { Card } from '@astrojs/starlight/components';
<Card title="Favorite!" icon="star">
Sharks are my favorite animals!
</Card>

Preview:

Favorite!

Sharks are my favorite animals!

Link Cards are a great way to create visually appealing links to other pages or external resources.

linkCardExemple.mdx
import { LinkCard } from '@astrojs/starlight/components';
<LinkCard title="Coolest lore" href="../../lore/prologue/" />

Preview:

linkCardWithDescriptionExemple.mdx
import { LinkCard } from '@astrojs/starlight/components';
<LinkCard
title="Coolest lore"
href="../../lore/prologue/"
description="What is this world? Why do you want to know. It isn't yours anyway."
/>

Preview:

Card Grids are a great way to display multiple cards in a grid layout.

cardGridExemple.mdx
import { Card, CardGrid } from '@astrojs/starlight/components';
<CardGrid>
<Card title="Check this out" icon="open-book">
Interesting content you want to highlight.
</Card>
<Card title="Other feature" icon="information">
More information you want to share.
</Card>
</CardGrid>

Preview:

Check this out

Interesting content you want to highlight.

Other feature

More information you want to share.