-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: use titles for more code blocks #25526
Conversation
How do these look when viewed in "preview" form on GitHub? |
GitHub does not show the title in the codeblock. So the published docs look better, but the "nice GitHub preview of the Markdown file" gets broken. When you view the |
As long we only do it for user docs the broken preview is fine for me. |
🎉 This PR is included in version 37.43.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Changes
Context
Change code blocks so they show the file name or description of the content.
Some introductory text for code blocks is too long or complex to put in the
title=""
, so I did not change those. 😄Read the Material for MkDocs, adding a title to code blocks to learn more, and to see an example.
Follow-up PR after:
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: