GDevelop's wiki is based on the framework MkDocs that allows to write a whole documentation using only markdown syntax.
Note:
- MkDocs uses the python markdown syntax that is slightly different from the markdown one. For instance it handles lists differently (see below).
- Displaying images comes with features brought by Material for MkDocs. Check the reference here.
You should use 4 spaces to mark an indent in a list.
For example, to display:
- Getting started
- First step
- Second step
You shall write:
- Getting started
- First step
- Second step
The list won't be formatted if there is no newline before the start of the list.
Bad format example:
List of objects:
- Sprite
- Text
will be rendered as:
List of objects: - Sprite - Text
You can fix it with:
List of objects:
- Sprite
- Text
An image is added with this syntax:
![Image description](/path/to/image.png)
You can set the width of an image (the aspect ratio will be kept) with:
![Image description](/path/to/image.png){ width=300 }
By default, the image will be aligned on the left and there will be no text displayed on the left or on the right of the image.
To center it, do the following:
![Image description](/path/to/image.png)
{ .align-center }
To have it aligned on the right, do the following:
![Image description](/path/to/image.png)
{ .align-right }
This features is available only for images aligned on the left or on the right.
To display text alongside an image, use this syntax:
![Image description](/path/to/image.png){ align=left }