We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 147c469 commit ca51eb0Copy full SHA for ca51eb0
1 file changed
snippets/models.py
@@ -2,7 +2,7 @@
2
from pygments.lexers import get_all_lexers
3
from pygments.styles import get_all_styles
4
from pygments.lexers import get_lexer_by_name
5
-from pygments.formatters import HtmlFormatter
+from pygments.formatters.html import HtmlFormatter
6
from pygments import highlight
7
8
LEXERS = [item for item in get_all_lexers() if item[1]]
0 commit comments