Markdown for devs
Lists
Result:
- This is how to make a list
- This text is fat og cursive
Keystrokes
Keystrokes tell the reader how to enter hotkeys
Result:
Press Ctrl+Shift+P to open the command pallette
Code blocks
Code blocks work as follows. The number specifies the number of the first line. It should usually be 1. You can highlight one or more lines by using hl lines
.
```c++ linenums="23" hl_lines="2 4"
int main() {
AnimationWindow\* win = new AnimationWindow("Vindu", 1000, 800, 100, 200);
return 0; // Kommentar
}
```
Result:
Inline code
Result:
The language of inline code can be specified like this: draw_rectangle(100, 100, 20, 20);