Skip to content

Material tuning

Colors

“Changing the colors” documentation

Title bar background

mkdocs.yml off-root content:

theme:
    palette:
        primary: blue grey

red pink purple deep purple indigo blue light blue cyan teal green light green lime yellow amber orange deep orange

Copyability

mkdocs.yml off-root content:

theme:
    features:
        - content.code.copy

mkdocs.yml off-root content:

theme:
    features:
        - navigation.footer

Non-local fonts

Usage of fonts not default to the browser, downloaded (but cached locally within the MkDocs deployment) from remote servers.

mkdocs.yml off-root content:

theme:
    font: true

Privacy

mkdocs.yml off-root content:

plugins:
    - privacy

Search enablement

mkdocs.yml off-root content:

plugins:
    - search

Fancy bitmaps

mkdocs.yml off-root content:

plugins:
    - glightbox

Immediately applies to all included images.

Bitmap scaling

mkdocs.yml off-root content:

markdown_extensions:
  - attr_list

Put {width=70%} et al after image declaration.