When I'm working with notes that contain code blocks, the syntax highlighting of the code is very different between the editing and reading modes.
My expectation is that the syntax highlighting would use the same highlighting in both editing and reading modes.
I'm not sure which version is intended to be the "correct" form of syntax highlighting, but the highlighting I see in editing mode looks nicer (to me).
## Example
```python
def binary_search(arr, item):
low = 0
high = len(arr) - 1
while low <= high:
mid = low + ((high - low) // 2)
guess = arr[mid]
if guess == item:
return mid
elif guess > item:
high = mid - 1
else:
low = mid + 1
return None
item_count = sys.maxsize
item_to_find = random.randint(1, item_count)
items = range(1, item_count + 1)
print(f'Item {item_to_find} is at index {binary_search(items, item_to_find)} in the list.')
```