iqsharp icon indicating copy to clipboard operation
iqsharp copied to clipboard

Q# notebook syntax highlighting doesn't work after browser refresh

Open rmshaffer opened this issue 5 years ago • 0 comments

Describe the bug In a Q# notebook, after refreshing the browser (or opening the same notebook in another tab), syntax highlighting no longer works.

To Reproduce Steps to reproduce the behavior:

  1. Open a Q# notebook. See that syntax highlighting works as expected.
  2. Refresh the browser.
  3. Notice that syntax highlighting is gone. If you restart the kernel, then syntax highlighting works again.

Expected behavior Syntax highlighting should be re-initialized each time the page loads.

Screenshots Example of syntax highlighting not working: image

System information

  • OS: Windows
  • Browser: Edge
  • Version: 0.12.20072031

rmshaffer avatar Aug 13 '20 22:08 rmshaffer