docs: Fix highlighting roundcube PHP snippet in OAuth2 page

This commit is contained in:
polarathene 2024-02-01 11:55:15 +13:00
parent 8a360b76db
commit f0fb63ca31
2 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,7 @@ This example assumes you have:
=== "1. Docker Mailserver"
Edit the following values in `mailserver.env`:
```env
# -----------------------------------------------
# --- OAUTH2 Section ----------------------------

View File

@ -104,6 +104,13 @@ markdown_extensions:
lang: cfg
- name: env
lang: properties
# We only show PHP snippets, requires config change to work:
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#highlight
# https://facelessuser.github.io/pymdown-extensions/extensions/highlight/#extended-pygments-lexer-options
- name: php
lang: php
options:
startinline: true
# A variant that sometimes has nicer syntax highlighting:
- name: cf-extra
lang: linuxconfig