diff --git a/bin/highlight.py b/bin/highlight.py index 0078a5e..9915364 100644 --- a/bin/highlight.py +++ b/bin/highlight.py @@ -93,5 +93,5 @@ def _wrap_table(self, inner): def highlight(code, language): """ Pretty html export of ``code`` using syntax highlighting """ - lexer = get_lexer_by_name(language) + lexer = get_lexer_by_name(language, startinline=True) return pygments.highlight(code, lexer, _html_formatter)