Skip to content

Commit 545f2e5

Browse files
committed
fix(docs): render Material icons in grid cards (add pymdownx.emoji)
The "Next steps" cards on the home page showed the raw icon syntax (`:material-download:{ .lg .middle }`) as text because pymdownx.emoji was not configured. Add it with Material's twemoji index/generator so `:material-...:` and `:octicons-...:` render as SVG icons (and the grid cards display correctly).
1 parent d175b1d commit 545f2e5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎mkdocs.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ markdown_extensions:
120120
- pymdownx.snippets
121121
- attr_list
122122
- md_in_html
123+
- pymdownx.emoji:
124+
emoji_index: !!python/name:material.extensions.emoji.twemoji
125+
emoji_generator: !!python/name:material.extensions.emoji.to_svg
123126
- toc:
124127
permalink: true
125128

0 commit comments

Comments
 (0)