Do not require a PHP start tag for syntax highlighting

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst
2022-11-14 15:58:52 +01:00
parent a6bf15c22d
commit 96f4dd4cd8

View File

@@ -316,3 +316,7 @@ StandaloneHTMLBuilder.supported_image_types = [
# Generate the versions list
html_context['versions'] = generateVersionsDocs(current_docs)
html_context['theme_vcs_pageview_mode'] += current_docs
highlight_options = {
'php': {'startinline': True},
}