Put one asterisk (or underscore) at the beginning of the text, and one at the end:
*This text will be italicized.*
_This text will also be italicized._
Result:
This text will be italicized.
This text will also be italicized.
Put two asterisks (or underscores) at the beginning of the text, and two at the end:
**This text will be bold.**
__This text will also be bold.__
Result:
This text will be bold.
This text will also be bold.
Begin each line with the > symbol:
> This text will appear as
> a block quote.
Result:
This text will appear as
a block quote.
To hide spoilers, put them between details tags:
<details>This text is hidden until you click.</details>
Result:
You can also add a “Spoilers” label between summary tags:
<details>
<summary>Spoilers!</summary>
This text is hidden until you click.
</details>
Result:
To include a block of code in a post, begin and end with three backticks, or backquotes :
```
Code goes here.
```
Result:
Code goes here.
For a code sample that’s too large for a post, you can create a Github gist, then post a link to the gist on the forum.
If you want to share a library, you can create a Github repository, then post a link to the repository on the Libraries and Code Samples forum.