From 1554aef454d8874232edc932cfd628b4d95a9100 Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Fri, 13 Mar 2020 15:25:11 -0400 Subject: [PATCH] Avoid syntax highlighting in blocks that don't specify language --- doc/utils/sphinx-config/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/utils/sphinx-config/conf.py b/doc/utils/sphinx-config/conf.py index a9f9cb952a..ffb43e7bff 100644 --- a/doc/utils/sphinx-config/conf.py +++ b/doc/utils/sphinx-config/conf.py @@ -334,3 +334,6 @@ from sphinx.highlighting import lexers lexers['LAMMPS'] = LAMMPSLexer.LAMMPSLexer(startinline=True) sys.path.append(os.path.join(os.path.dirname(__file__), '../../../python')) + +# avoid syntax highlighting in blocks that don't specify language +highlight_language = 'none'