]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
separate out the custom html example
authorMark Otto <markdotto@gmail.com>
Sun, 9 Oct 2016 22:35:52 +0000 (15:35 -0700)
committerMark Otto <markdotto@gmail.com>
Sun, 9 Oct 2016 22:35:52 +0000 (15:35 -0700)
docs/components/tooltips.md

index 0c8ec2155544bab54d1654cd6e2236cc3b256553..b4b28377c796c0df8190de66b4c4d3ced726f4d3 100644 (file)
@@ -103,6 +103,11 @@ Hover over the buttons below to see their tooltips.
 <button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="left" title="Tooltip on left">
   Tooltip on left
 </button>
+{% endhighlight %}
+
+And with custom HTML added:
+
+{% highlight html %}
 <button type="button" class="btn btn-secondary" data-toggle="tooltip" data-html="true" title="<em>Tooltip</em> <u>with</u> <b>HTML</b>">
   Tooltip with HTML
 </button>