Handmade Network»Forums»Site Feedback
Roman
25 posts
ups
what is syntax for code block at the site
Edited by Roman on

Is toolbar for writing posts gone? Can you remind me syntax for code block? Also as I understand site switched from bbcode to markdown syntax so where can I find all available syntax?

Asaf Gartner
64 posts / 2 projects
Handmade Network Staff
what is syntax for code block at the site

We support both bbcode and markdown. You can do either:

[code language=c]

char *str = "your code here";

[/code]

Or

```c
char *str = "your code here";
```

Roman
25 posts
ups
what is syntax for code block at the site
Replying to AsafG (#25188)

Ok thanks. Where can I find all available syntax?

Asaf Gartner
64 posts / 2 projects
Handmade Network Staff
what is syntax for code block at the site
Replying to ExTray2020 (#25189)

We don't have a page for that yet.

For now you can use this for markdown syntax: https://guides.github.com/features/mastering-markdown/