logo

... mkdocs: codehilite



Notes

First we need to install a dependency.

pip install pygments

The contents of mkdocs.yml now are listed below.

site_name: My Docs
theme:
  name: material
  palette:
    primary: purple
    accent: cyan
  font:
    text: Ubuntu
  logo: 
    icon: cloud
markdown_extensions:
  - codehilite:
      linennums: true

Feedback? See an issue? Something unclear? Feel free to mention it here.



If you want to be kept up to date, consider signing up for the newsletter.