Skip to content

Commit

Permalink
Highlight types such as <type> in Python code blocks
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jared-hughes committed Jul 16, 2019
1 parent 90ec02e commit 33f7be5
Show file tree
Hide file tree
Showing 3 changed files with 378 additions and 370 deletions.
Loading

0 comments on commit 33f7be5

Please sign in to comment.