what is syntax for code block at the site

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?


Edited by Roman on

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";
```

Ok thanks. Where can I find all available syntax?


Replying to AsafG (#25188)

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/


Replying to ExTray2020 (#25189)