Options
You can specify an option after a pipe (|
) next to the tooltip content, like this:
Markdown |
Output |
I like [**Markdown**]{I'm a tooltip|left}. |
I like Markdown. |
Options are cumulative:
Markdown |
Output |
I like [**Markdown**]{I'm a tooltip|left|medium|success}. |
I like Markdown. |
Position
Markdown |
Output |
[top-left]{hello|top-left} |
top-left |
[top]{hello|top} |
top |
[top-right]{hello|top-right} |
top-right |
[right]{hello|right} |
right |
[bottom-right]{hello|bottom-right} |
bottom-right |
[bottom]{hello|bottom} |
bottom |
[bottom-left]{hello|bottom-left} |
bottom-left |
[left]{hello|left} |
left |
The default position is top
.
Color
Markdown |
Output |
[error]{hello|error} |
error |
[warning]{hello|warning} |
warning |
[info]{hello|info} |
info |
[success]{hello|success} |
success |
Size
Markdown |
Output |
[small]{hello|small} |
small |
[medium]{hello|medium} |
medium |
[large]{hello|large} |
large |
Style
Markdown |
Output |
[rounded]{hello|rounded} |
rounded |
Animation
Markdown |
Output |
[always]{hello|always} |
always |
[no-animate]{hello|no-animate} |
no-animate |
[bounce]{hello|bounce} |
bounce |