Welcome to the MDLZ's Documentation Template¶
Hello and welcome! This site is a template built using MKDocs, an awesome static site generator that's geared towards project documentation. But don't worry, even if you're new to MKDocs, we're here to guide you through it.
What is MKDocs?¶
MKDocs is a fast, simple, and downright gorgeous static site generator that's geared towards building project documentation. Documentation source files are written in Markdown, and configured with a single YAML configuration file.
What is MKDocs Material?¶
For the look and feel of our site, we're utilizing the MKDocs Material theme. MKDocs Material is a material design theme for MKDocs. It is built using Google's Material Design guidelines, making your documentation look incredibly professional and easy-to-navigate.
Getting Started with Markdown¶
Markdown Basics¶
Markdown is a lightweight markup language that's easy to learn. Let's start with the basics:
- Headers: Use '#' for H1 headers, '##' for H2, and so on up to '######' for H6.
-
Paragraphs: Paragraphs in Markdown are just one or more lines of consecutive text followed by one or more blank lines.
-
Emphasis: Use '*' or '_' to emphasize text. One for italics, two for bold.
- Lists: Use '*' or '-' for bullet points. For numbered lists, simply start a line with a number.
- Links: To create a hyperlink, use '[]' for the link text and '()' for the URL.
- Images: Images are similar to links, but they start with a '!'.
![Mondelēz International Logo](https://www.mondelezinternational.com/-/media/Mondelez/Images/logo.png)
- Code: To denote a word or phrase as code, enclose it in backticks (`). For blocks of code, you can use triple backticks and optionally indicate the programming language.
Extending Markdown with MKDocs and MKDocs Material¶
MKDocs and the MKDocs Material theme extend Markdown's capabilities, offering additional features like footnotes, tables of contents, abbreviations, and more.
- Footnotes: You can easily add footnotes using the following syntax.
-
Table of Contents (TOC): MKDocs Material automatically generates a table of contents from your headers.
-
Abbreviations: Define abbreviations that get expanded on hover.
- Admonitions (Notes, Warnings, etc.): MKDocs Material supports admonitions, providing you with the means to highlight information.
- Code Blocks with Syntax Highlighting: MKDocs Material uses Pygments for syntax highlighting in code blocks. Simply specify the language after the initial backticks.
- Tables: You can create tables in Markdown by assembling a list of words and dividing them with hyphens
-
(for the first row), and then separating each column with a pipe|
.
| First Header | Second Header |
| ------------ | ------------- |
| Content Cell | Content Cell |
| Content Cell | Content Cell |
Remember, this is just a primer on what you can do with Markdown and MKDocs. You can always refer to the official MKDocs documentation and the official MKDocs Material documentation for more detailed information.
Enjoy building your documentation site with our MkDocs template!