Click me
- Foo
- Bar
- Baz
- Qux
function logSomething(something) {
console.log('Something', something);
}<details>
<summary>Click me</summary>
### Heading
1. Foo
2. Bar
- Baz
- Qux
### Some Javascript
```js
function logSomething(something) {
console.log('Something', something);
}
```
</details>REF: Gist
Like in Jira etc. you can get special highlights for notes, tips, important parts, warnings and alerts.
In GitHub-flavoured Markdown you use quote
> [!NOTE]
> Useful information that users should know, even when skimming content.
> [!TIP]
> Helpful advice for doing things better or more easily.
> [!IMPORTANT]
> Key information users need to know to achieve their goal.
> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.
> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.It will render as follows:
Note
Useful information that users should know, even when skimming content.
Tip
Helpful advice for doing things better or more easily.
Important
Key information users need to know to achieve their goal.
Warning
Urgent info that needs immediate user attention to avoid problems.
Caution
Advises about risks or negative outcomes of certain actions.
REF: GitHub Documentation