File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -436,12 +436,18 @@ the `icon` shortcode to inline an SVG file for a visual reference as
436436demonstrated below :
437437
438438` ` ` markdown
439- First off, select all nodes ({{< icon "select-all" >}}), then right-click.
439+ Select all nodes ({{< icon "select-all" >}}), then right-click.
440440` ` `
441441
442442Icons are supposed to supplement the text, i.e. not be embedded in sentences.
443443They are hidden from screen readers.
444444
445+ To add new icons to the toolchain, save them to `site/content/images/icons/`.
446+ They are referenced by file name (without extension) in the shortcode.
447+
448+ SVG icon files should not define the attributes `width`, `height`, `aria-hidden`,
449+ and `focusable` on the `<svg>` tag.
450+
445451# ### Keyboard shortcuts
446452
447453To document hotkeys and key combinations to press in a terminal or graphical
You can’t perform that action at this time.
0 commit comments