summaryrefslogtreecommitdiff
path: root/creole/shared/example_macros.py
diff options
context:
space:
mode:
Diffstat (limited to 'creole/shared/example_macros.py')
-rw-r--r--creole/shared/example_macros.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/creole/shared/example_macros.py b/creole/shared/example_macros.py
index 354469d..88a9bc8 100644
--- a/creole/shared/example_macros.py
+++ b/creole/shared/example_macros.py
@@ -17,6 +17,7 @@ from xml.sax.saxutils import escape
from creole.shared.utils import get_pygments_formatter, get_pygments_lexer
+
try:
from pygments import highlight
PYGMENTS = True