Skip to content

Commit 33f7be5

Browse files
committed
Highlight types such as <type> in Python code blocks
Simply runs a regex replacement after highlight.js does the rest of the highlighting. As a consequence, it does not highlight strings such as `<class>` which contain a Python keyword. This is infrequent though.
1 parent 90ec02e commit 33f7be5

File tree

3 files changed

+378
-370
lines changed

3 files changed

+378
-370
lines changed

0 commit comments

Comments
 (0)