Skip to content

Conversation

@joapuiib
Copy link
Contributor

@joapuiib joapuiib commented Feb 6, 2025

These changes allow including the page icon in the page title of an alias.

mkdocs.yml

plugins:
  - alias:
      use_page_icon: true

page.md

---
alias: page
title: Page title
icon: material/emoticon-happy 
---

example.md

[[page]]

Will render as:

[:material-emoticon-happy: Page title](page.md)

@EddyLuten
Copy link
Owner

This looks like a great addition! I'll review the PR and test it out myself once I have some time next week or the week after. Thanks for the contribution!

@EddyLuten EddyLuten self-assigned this Feb 14, 2025
@EddyLuten EddyLuten added the enhancement New feature or request label Feb 14, 2025
@EddyLuten
Copy link
Owner

LGTM 🚀

Thanks for the contribution!

@EddyLuten EddyLuten merged commit 8df1bc4 into EddyLuten:main Feb 21, 2025
@joapuiib joapuiib deleted the feature/include_page_icons branch December 9, 2025 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants