跳转至
本文阅读量

基础概念

1. 基本使用

How to add plugins to the Docker image?

Material for MkDocs bundles useful and common plugins while trying not to blow up the size of the official image. If the plugin you want to use is not included, create a new Dockerfile and extend the official Docker image with your custom installation routine:

FROM squidfunk/mkdocs-material
RUN pip install ...

Next, you can build the image with the following command:

docker build -t squidfunk/mkdocs-material .

The new image can be used exactly like the official image.

2. 默认处于打开状态

如何在展示问题的时候默认折叠打开?

??? 后增加 + 号,如下

???+ 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.

3. 使用按钮(Button)

3.1 基本使用

Subscribe to our mailing list

3.2 可以改变 Button 风格

Subscribe to our mailing list

Subscribe to our mailing list

3.3 可以增加图标

Submit :fontawesome-solid-paper-plane:

Text can be deleted and replacement text added. This can also be combined into onea single operation. Highlighting is also possible and comments can be added inline.

Formatting can also be applied to blocks by putting the opening and closing tags on separate lines and adding new lines between the tags and the content.

85%

100%