Разметка¶
Источник: https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/
Поддерживается базовая разметка Markdown, которую можно расширить подключением плагинов (например, если нужны вкладки). В частности, плагин Pymdown Extensions предлагает следующую коллекцию расширений:
https://facelessuser.github.io/pymdown-extensions/#extensions
Заголовок 1¶
Заголовок 2¶
Заголовок 3¶
Заголовок 4¶
Заголовок 5¶
Заголовок 6¶
Plain text
bold
italic
~strikethrough~
monospace
monospace bold
monospace h1
¶
- One
- Two
-
Three
-
list item level 1
- list item level 2
- list item level 3
- list item level 4
- etc
- list item level 4
- list item level 3
Цитата
Note
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor massa, nec semper lorem quam in massa.
Tip
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor massa, nec semper lorem quam in massa.
Warning
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor massa, nec semper lorem quam in massa.
Prop | Type | Required | Default | Description |
---|---|---|---|---|
type | String |
N |
errorPage |
errorPage , noNetwork , noGoods , errorLocation |
show | Boolean |
N |
true |
whether to show |
padding-top | Number |
N |
240 |
padding top from screen |
custom-set | Object |
N |
{} |
custom config type.js |
wrap-style | Object |
N |
{} |
custom wrap style |
{
"card": { // карта лояльности пользователя
"cardNumber": "", // номер карты в информационной системе партнера
"cardState" : "", // состояние карты ("active" / "inactive")
"barcode": { // штрихкод карты
"barcodeNumber": 1234567890, // номер штрихкода
"barcodeType": "" // тип штрихкода ("EAN_8" / "EAN_13" / "CODE_128" / "UPC_A" / "QR_CODE")
}
}
}
notice with inline code
and additional placeholder text used
to force the content to wrap and span multiple lines.
notice with `inline code` and additional placeholder text used
to force the content to wrap and span multiple lines.
Prop | Type | Required | Default | Description |
---|---|---|---|---|
type | String |
N |
errorPage |
errorPage , noNetwork , noGoods , errorLocation |
show | Boolean |
N |
true |
whether to show |
padding-top | Number |
N |
240 |
padding top from screen |
custom-set | Object |
N |
{} |
custom config type.js |
wrap-style | Object |
N |
{} |
custom wrap style |