Allow title of social cards to respect MkDocs hooks #7023
Labels
change request
Issue requests a new feature or improvement
resolved by config change
Issue can be mitigated by the reporter
Context
No response
Description
I would like to change the title default to be derived from the
h1
. This PR from the maintainer of MkDocs introduced a hook that satisfies every relevant component that I can see except for the generated social cards: pypa/hatch#1239I'm using the latest version of the insiders edition.
Related links
https://squidfunk.github.io/mkdocs-material/plugins/social/#option.title
Use Cases
Full context is here: mkdocs/mkdocs#3532
Visuals
Inside https://github.com/pypa/hatch/blob/gh-pages/dev/how-to/publish/auth/index.html I see:
But the card uses the
nav
: https://github.com/pypa/hatch/blob/gh-pages/dev/assets/images/social/how-to/publish/auth.pngBefore submitting
The text was updated successfully, but these errors were encountered: