Skip to content
Discussion options

You must be logged in to vote

Hello @Masber,
GitHub provides their own rendering of icons, but to render icons when building mkdocs-material you have to enable the proper markdown_extensions, as per the instructions on the page.

https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/#configuration

markdown_extensions:
  - attr_list
  - pymdownx.emoji:
      emoji_index: !!python/name:material.extensions.emoji.twemoji
      emoji_generator: !!python/name:material.extensions.emoji.to_svg

Example in a config file:

mkdocs-material/mkdocs.yml

Lines 143 to 145 in f4db9de

- pymdownx.emoji:
emoji_generator: !!python/name:material.extensions.emoji.to_svg
emoji_index: !!python/name:material.ext…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Masber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #7269 on June 16, 2024 12:32.