Syntax highlighting for Python is not working for me in Preview mode, but it works just fine in Edit mode (I’m using the Editor Syntax Highlight plugin).
For comparison, syntax highlight for JavaScript works fine in both modes.
Any idea why highlight is not working for Python in preview mode?
Here’s a sample snippet:
```python
class Company:
"""Represents a company with employees."""
def __init__(self) -> None:
self.employees: List[Employee] = []
def add_employee(self, employee: Employee) -> None:
"""Add an employee to the list of employees."""
self.employees.append(employee)