Content tabs
Generic Content#
From the markdown...
=== "Plain text"
This is some plain text
=== "Unordered list"
* First item
* Second item
* Third item
=== "Ordered list"
1. First item
2. Second item
3. Third item
...MkDocs produces
This is some plain text
- First item
- Second item
- Third item
- First item
- Second item
- Third item
Code Blocks in Content Tabs#
From the markdown...
=== "Python"
```py
def main():
print("Hello world!")
if __name__ == "__main__":
main()
```
=== "JavaScript"
```js
function main() {
console.log("Hello world!");
}
main();
```
...MkDocs produces