Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
mikeburek
Advocate II
Advocate II

Spark SQL code blocks display as plaintext without syntax highlighting

A coworker and some other people online are having problems with syntax highlighting no longer working for Spark SQL. Is this a recent bug, or is there something I should tell them to try?

1 ACCEPTED SOLUTION
v-huijiey-msft
Community Support
Community Support

Hi @mikeburek ,

 

Thanks for the reply from BenjaminBoothBW .

 

I used to be able to reproduce your error, but now I can't reproduce your error and I'm not sure if the problem has been fixed?

 

I would appreciate it if you could provide me with the steps on how you got the error.

 

If you have any other questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

View solution in original post

5 REPLIES 5
v-huijiey-msft
Community Support
Community Support

Hi @mikeburek ,

 

Is my follow-up just to ask if the problem has been solved?

 

If so, can you accept the correct answer as a solution or share your solution to help other members find it faster?

 

Thank you very much for your cooperation!

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

 

v-huijiey-msft
Community Support
Community Support

Hi @mikeburek ,

 

Thanks for the reply from BenjaminBoothBW .

 

I used to be able to reproduce your error, but now I can't reproduce your error and I'm not sure if the problem has been fixed?

 

I would appreciate it if you could provide me with the steps on how you got the error.

 

If you have any other questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

BenjaminBoothBW
Frequent Visitor

I also experience the same problem. For me, it doesn't work to copy out and re-paste the code 

v-huijiey-msft
Community Support
Community Support

Hi @mikeburek ,

 

I can reproduce your situation.

 

Convert the code block to Markdown format and back, and the syntax highlighting disappears.

vhuijieymsft_0-1726121699807.png

vhuijieymsft_1-1726121699810.png

 

In my opinion, this doesn't affect the code, it runs fine, it's just that it might be a bad experience without syntax highlighting.

vhuijieymsft_2-1726121717630.png

 

Copying out the statements from the code block and re-pasting them in restored my syntax highlighting.

vhuijieymsft_3-1726121717631.png

 

If you have any other questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

I appreciate the effort your put into this reply.

 

Yes, the code continues to work without the syntax highlighting.

 

The problem has not been solved, though.

Helpful resources

Announcements
Oct Fabric Update Carousel

Fabric Monthly Update - October 2024

Check out the October 2024 Fabric update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.