icon | tags | ||
---|---|---|---|
smiley |
|
Similar to the Emoji :shortcode:
syntax, you can add icons using :icon-shortcode:
, where the shortcode
is an Octicon icon name.
For example, to add the :icon-star: star
icon, use the :icon-star:
icon shortcode.
Icons can be added anywhere within your document, including paragraph text, headings, table content, Panel component titles, Alerts, code block titles, etc. :icon-thumbsup:
Some icon shortcode names are made up of two-or-more
words. For instance, the :icon-git-branch: git-branch
icon would be configured as :icon-git-branch:
.
!!! More icons :icon-heart: In future releases of Retype, the plan is to support additional Icon packs and possibily even custom developer defined icon packs. Let us know if you are interested! !!!