From 798bf9934f7f6916a1aacc658523bee9840d3fdb Mon Sep 17 00:00:00 2001 From: squidfunk Date: Thu, 12 Jan 2023 21:12:50 +0100 Subject: [PATCH] Documentation --- docs/reference/icons-emojis.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/reference/icons-emojis.md b/docs/reference/icons-emojis.md index 6f1e771f8..7243014ba 100644 --- a/docs/reference/icons-emojis.md +++ b/docs/reference/icons-emojis.md @@ -192,9 +192,13 @@ After applying the customization, add the CSS class to the icon shortcode: [colors]: #with-colors [animations]: https://developer.mozilla.org/en-US/docs/Web/CSS/animation -#### in the navigation and table of contents +### Icons, emojis in sidebars :smile: -Currently, to use emojis in sidebars you need to enable the [typeset plugin]. +With the help of the [built-in typeset plugin], you can use icons and emojis +in headings, which will then be rendered in the sidebars. The plugin preserves +Markdown and HTML formatting. + + [built-in typeset plugin]: ./index.md#built-in-typeset-plugin ## Customization @@ -225,4 +229,3 @@ This is exactly what Material for MkDocs does in its templates. [extending the theme]: ../customization.md#extending-the-theme [include]: https://jinja.palletsprojects.com/en/2.11.x/templates/#include - [typeset plugin]: ./index.md#built-in-typeset-plugin