Highlight.js treats Python REPL (the Python interpreter in interactive mode) as its own language separate from Python—it uses the class names
pycon. I checked Stack Exchange's highlight-loader.js and didn't see
python-repl loaded anywhere. Would you mind adding support?
Here's a CodePen illustrating the difference between how highlight.js handles
lang-python-repl when highlighting Python interpreter interactive sessions.
Also, as @Luuklag insightfully pointed out, nearly all questions tagged "python-interactive" are also tagged "python", so if Python REPL highlight.js support is added, it would probably be best not to add default highlighting to the "python-interactive" tag, because the highlighter only adds default highlighting when there is exactly one tag with a language set used. I just want to manually make
```python-repl code blocks.