Newer
Older
labs / tiddlers / system / cheatsheet / $__Cheatsheet_Cheatsheet_Icons.tid
tags: cheatsheet
title: $:/Cheatsheet/Cheatsheet/Icons
type: text/vnd.tiddlywiki

The following macros can be used to include icon characters:

```plaintext
<<tip>> Don't run with scissors.
```
Produces:

<<tip>> Don't run with scissors.

<br>

```plaintext
<<warning>> Pay attention!
```
Produces:

<<warning>> Pay attention!

<br>


```plaintext
<<icon "$:/ou/clipart/octoicons/octicon-cloud-download">>
```
Produces:

<<icon "$:/ou/clipart/octoicons/octicon-cloud-download">>

The path is a Tiddler that contains an image.  The image will be automatically scaled, so can be any size.

The icons can be embedded in a paragraph:

```
Click the <<icon "$:/ou/clipart/h2_disconnect">> icon to disconnect from the database.
```

Produces:

Click the <<icon "$:/ou/clipart/octoicons/octicon-cloud-download">> icon to download the internet.