mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
Set default highlighting language to "none" globally
Otherwise Python is the default
This commit is contained in:
@@ -39,6 +39,10 @@ source_encoding = 'utf-8-sig'
|
||||
# The name of the Pygments (syntax highlighting) style to use.
|
||||
pygments_style = 'sphinx'
|
||||
|
||||
# The default language for syntax highlighting, defaults to Python if omitted.
|
||||
|
||||
highlight_language = "none"
|
||||
|
||||
# Import the QL Lexer to use for syntax highlighting
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -7,10 +7,6 @@ QL language specification
|
||||
|
||||
This is a formal specification for the QL language. It provides a comprehensive reference for terminology, syntax, and other technical details about QL.
|
||||
|
||||
.. This ``highlight`` directive prevents code blocks in this file being highlighted as QL (the default language for this Sphinx project).
|
||||
|
||||
.. highlight:: none
|
||||
|
||||
Introduction
|
||||
------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user