Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a14f53c

Browse files
committed
Set default highlighting language to "none" globally
Otherwise Python is the default
1 parent 2bb9636 commit a14f53c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/codeql/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
# The name of the Pygments (syntax highlighting) style to use.
4040
pygments_style = 'sphinx'
4141

42+
# The default language for syntax highlighting, defaults to Python if omitted.
43+
44+
highlight_language = "none"
45+
4246
# Import the QL Lexer to use for syntax highlighting
4347
import os
4448
import sys

docs/codeql/ql-language-reference/ql-language-specification.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ QL language specification
77

88
This is a formal specification for the QL language. It provides a comprehensive reference for terminology, syntax, and other technical details about QL.
99

10-
.. This ``highlight`` directive prevents code blocks in this file being highlighted as QL (the default language for this Sphinx project).
11-
12-
.. highlight:: none
13-
1410
Introduction
1511
------------
1612

0 commit comments

Comments
 (0)