File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -317,7 +317,29 @@ contents (sidebar) by including a `\{{#title ...}}` near the top of the page.
317
317
318
318
## HTML classes provided by mdBook
319
319
320
- The ` class="warning" ` can be applied to make a warning, or similar note, stand out.
320
+ <img class =" right " src =" images/rust-logo-blk.svg " alt =" The Rust logo " >
321
+
322
+ ### ` class="left" ` and ` "right" `
323
+
324
+ These classes are provided by default, for inline HTML to float images.
325
+
326
+ ``` html
327
+ <img class =" right" src =" images/rust-logo-blk.svg" alt =" The Rust logo" >
328
+ ```
329
+
330
+ ### ` class="hidden" `
331
+
332
+ HTML tags with class ` hidden ` will not be shown.
333
+
334
+ ``` html
335
+ <div class =" hidden" >This will not be seen.</div >
336
+ ```
337
+
338
+ <div class =" hidden " >This will not be seen.</div >
339
+
340
+ ### ` class="warning" `
341
+
342
+ To make a warning or similar note stand out, wrap it in a warning div.
321
343
322
344
``` html
323
345
<div class =" warning" >
You can’t perform that action at this time.
0 commit comments