Select to view content in your preferred language

Code Highlighting Gets Lost When Posting

864
5
11-13-2020 11:39 AM
JoshuaBixby
MVP Esteemed Contributor

When I try to use code highlighting, it works in the editor

Capture1.PNG

 

 

 

 

but is lost after I post it.

Capture2.PNG

 

0 Kudos
5 Replies
by Anonymous User
Not applicable

Thanks Joshua which language did you post this in from the dropdown?

lbranscomb_0-1605303846104.png

 

JoshuaBixby
MVP Esteemed Contributor

JavaScript.  The example was Arcade, but there is no option for Arcade and the syntax is most similar to JavaScript.

 

0 Kudos
JoshuaBixby
MVP Esteemed Contributor

@Anonymous User, it isn't just JavaScript code highlighting.  I just checked my migrated blog posts today, and none of the Python code formatting or any other code formatting is showing up either.

Capture.PNG

 

0 Kudos
by Anonymous User
Not applicable

Thanks for the additional information. I reported this as a bug to our support team and will add it now to the Known Issues document. 

I hope we can get this resolved asap to make this experience better for you and everyone else so thanks for your patience while we get this addressed. 

0 Kudos
XanderBakker
Esri Esteemed Contributor

Hi @Anonymous User ,

 

In addition to what @JoshuaBixby  mentioned, it also seems to apply to the content that was migrated that seems to have lost the language the code was formatted with.

0 Kudos