docs: Fix highlighting roundcube PHP snippet in OAuth2 page
This commit is contained in:
parent
8a360b76db
commit
f0fb63ca31
|
@ -27,6 +27,7 @@ This example assumes you have:
|
||||||
|
|
||||||
=== "1. Docker Mailserver"
|
=== "1. Docker Mailserver"
|
||||||
Edit the following values in `mailserver.env`:
|
Edit the following values in `mailserver.env`:
|
||||||
|
|
||||||
```env
|
```env
|
||||||
# -----------------------------------------------
|
# -----------------------------------------------
|
||||||
# --- OAUTH2 Section ----------------------------
|
# --- OAUTH2 Section ----------------------------
|
||||||
|
|
|
@ -104,6 +104,13 @@ markdown_extensions:
|
||||||
lang: cfg
|
lang: cfg
|
||||||
- name: env
|
- name: env
|
||||||
lang: properties
|
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:
|
# A variant that sometimes has nicer syntax highlighting:
|
||||||
- name: cf-extra
|
- name: cf-extra
|
||||||
lang: linuxconfig
|
lang: linuxconfig
|
||||||
|
|
Loading…
Reference in New Issue