Markdown is special kind of markup language significantly simpler than HTML and it may be the best form for simple text formatting. More information you can find on Markdownguide.
If you are using DB2 for IBM i or IBM i Notebooks extensions in Visual Studio Code this cheatsheet can be useful. Only the syntax that works on IBM i Notebooks is listed here.
Headers :
# Header 1
## Header 2
### Header 3
#### Header 4
##### Header 5
###### Header 6Bold :
**Bold text**Italics :
*Text in italics*
_Text in italics_Bold & Italics :
***Bold &Italics text***Scratch text : Scratch this
~~Scratch~~Blockquotes :
>Block of text
>still same block
>Main block
>>nested block
>>>second nested blockHorizontal line :
---
___
***Ordered list :
1. First item
2. Second item
3. Third itemUnordered list :
- item
- item
- itemLinks :
https://en.wikipedia.org
[Some text](https://en.wikipedia.org)Picture :
Tasks list :
- [x] Some task
- [ ] Another taskInline code :
`Block of inline code`
```
Another block of code
```Table :
|HeaderA|HeaderB|HeaderC|
|-------|-------|-------|
|A |B |C |
|1 |2 |3 |Inline HTML :
<span style="color:blue">Text color</span>
<span style="font-family:Comic Sans MS">Text with the given font</span>
<div class="alert alert-block alert-info">
<b>Tip:</b> Use blue boxes (alert-info) for tips and notes.</div>
<div class="alert alert-block alert-warning">
<b>Example:</b> Use yellow boxes for examples that are not inside code cells, or use for mathematical formulas if needed. Typically also used to display warning messages.
</div>
<div class="alert alert-block alert-success">
<b>Success:</b> This alert box indicates a successful or positive action.
</div>
<div class="alert alert-block alert-danger">
<b>Danger:</b> This alert box indicates a dangerous or potentially negative action.
</div>
<code style="background:yellow;color:black">Text with specific background color.</code>
Text with <mark>marked</mark> tag.
Definition list
<dl>
<dt>First Term</dt>
<dd>Definition.</dd>
<dt>Second Term</dt>
<dd>Definition A. </dd>
<dd>Definition B.</dd>
</dl>