--- template: overrides/main.html icon: material/image-size-select-small --- # Abbreviations Technical documentation often incurs the usage of many acronyms, which may need additional explanation, especially for new user of your project. For these matters, Material for MkDocs uses a combination of Markdown extensions to enable site-wide glossaries. ## Configuration This configuration enables abbreviations and allows to build a simple project-wide glossary, sourcing definitions from a central location. Add the following line to `mkdocs.yml`: ``` yaml markdown_extensions: - abbr - pymdownx.snippets ``` See additional configuration options: - [Abbreviations] - [Snippets] [Abbreviations]: ../setup/extensions/python-markdown.md#abbreviations [Snippets]: ../setup/extensions/python-markdown-extensions.md#snippets ## Usage ### Adding abbreviations Abbreviations can be defined by using a special syntax similar to URLs and [footnotes], starting with a `*` and immediately followed by the term or acronym to be associated in square brackets: ``` markdown title="Text with abbreviations" The HTML specification is maintained by the W3C. *[HTML]: Hyper Text Markup Language *[W3C]: World Wide Web Consortium ```