-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.qmd
41 lines (19 loc) · 907 Bytes
/
example.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
title: "Tooltips Example"
---
The goal of this extension is to make it easy to include bootstrap tooltips. This is accomplished with:
```{shortcodes=false}
What is a tooltip? {{<tooltips tooltip="This is a tooltip" >}}
```
produces:
What is a tooltip? {{<tooltips tooltip="This is a tooltip" >}}
You can also have the link on text not the info icon:
```{shortcodes=false}
This is a tooltip on {{<tooltips tooltip="This is a tooltip on text." text='some text'>}}.
```
This is a tooltip on {{<tooltips tooltip="This is a tooltip on text." text='some text'>}}.
Or pick a different icon. The default is `info-circle`:
```{shortcodes=false}
There will be a tooltip on this icon: {{<tooltips tooltip="This is a tooltip on info-square" icon='info-square'>}}.
```
There will be a tooltip on a square info icon: {{<tooltips tooltip="This is a tooltip on info-square" icon='info-square'>}}.