Features¶
Cool features for mkdocs
Admonitions¶
Admonitions, also known as call-outs and see MKDocs: Admonitions
Admonitions
Admonitions are a way to communicate important information to the reader.
Can be collasped
Admonitions are a way to communicate important information to the reader.
Example markdown
Code Blocks¶
Code blocks also supports adding a title, highlighting specific lines and showing line numbers and many more features are supported: MKDocs: Code blocks
app.py | |
---|---|
Attribute Lists¶
The Attribute Lists extension allows to add HTML attributes and CSS classes see MKDocs: Attribute Lists
Diagrams¶
Class diagrams¶
classDiagram
Person <|-- Student
Person <|-- Professor
Person : +String name
Person : +String phoneNumber
Person : +String emailAddress
Person: +purchaseParkingPass()
Address "1" <-- "0..1" Person:lives at
class Student{
+int studentNumber
+int averageMark
+isEligibleToEnrol()
+getSeminarsTaken()
}
class Professor{
+int salary
}
class Address{
+String street
+String city
+String state
+int postalCode
+String country
-validate()
+outputAsLabel()
}
Sequence¶
sequenceDiagram
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
Data tables¶
Method | Description |
---|---|
GET |
:material-check: Fetch resource |
PUT |
:material-check-all: Update resource |
DELETE |
:material-close: Delete resource |
Task lists¶
- Lorem ipsum dolor sit amet, consectetur adipiscing elit
- Vestibulum convallis sit amet nisi a tincidunt
- In hac habitasse platea dictumst
- In scelerisque nibh non dolor mollis congue sed et metus
- Praesent sed risus massa
- Aenean pretium efficitur erat, donec pharetra, ligula non scelerisque
Last update:
2022-05-10