Skip to main content
added 22 characters in body
Source Link
Yaakov Ellis StaffMod
  • 64.3k
  • 26
  • 286
  • 335

Syntax highlighting isn't being applied in the preview

It seems syntax highlight isn't being applied in the preview (click edit on this post to try it). I think this is important, when editing your or other's posts (or just reviewing them in the editor) having syntax highlight considerably helps readability.

JavaScript example (taken from this snippet):

const summaryAnswerID = 380354; // ID of the summary answer const key = "U4DMV*8nvpm3EOpvf69Rxw(("; // taken from API documentation 

SQL example (taken from this query):

SELECT TOP 100 Id as [Post Link], Title FROM Posts ORDER BY LEN(Posts.Title) DESC 

Using Windows 10, Firefox 104.0.2 (64-bit), 1920x1080, rev 2022.9.22.32478

Syntax highlighting isn't being applied in the preview

It seems syntax highlight isn't being applied in the preview (click edit on this post to try it). I think this is important, when editing your or other's posts (or just reviewing them in the editor) having syntax highlight considerably helps readability.

JavaScript example (taken from this snippet):

const summaryAnswerID = 380354; // ID of the summary answer const key = "U4DMV*8nvpm3EOpvf69Rxw(("; // taken from API documentation 

SQL example (taken from this query):

SELECT TOP 100 Id as [Post Link], Title FROM Posts ORDER BY LEN(Posts.Title) DESC 

Using Windows 10, Firefox 104.0.2 (64-bit), 1920x1080, rev 2022.9.22.32478

Syntax highlighting isn't being applied in the preview

It seems syntax highlight isn't being applied in the preview (click edit on this post to try it). I think this is important, when editing your or other's posts (or just reviewing them in the editor) having syntax highlight considerably helps readability.

JavaScript example (taken from this snippet):

const summaryAnswerID = 380354; // ID of the summary answer const key = "U4DMV*8nvpm3EOpvf69Rxw(("; // taken from API documentation 

SQL example (taken from this query):

SELECT TOP 100 Id as [Post Link], Title FROM Posts ORDER BY LEN(Posts.Title) DESC 

Using Windows 10, Firefox 104.0.2 (64-bit), 1920x1080, rev 2022.9.22.32478

It's a bug, as it's a regression from prior functionality and there's no indication it was intentionally removed. Also, add in a heading.
Source Link

Syntax highlighting isn't being applied in the preview

It seems syntax highlight isn't being applied in the preview (click edit on this post to try it). I think this is important, when editing your or other's posts (or just reviewing them in the editor) having syntax highlight considerably helps readability.

JavaScript example (taken from this snippet):

const summaryAnswerID = 380354; // ID of the summary answer const key = "U4DMV*8nvpm3EOpvf69Rxw(("; // taken from API documentation 

SQL example (taken from this query):

SELECT TOP 100 Id as [Post Link], Title FROM Posts ORDER BY LEN(Posts.Title) DESC 

Using Windows 10, Firefox 104.0.2 (64-bit), 1920x1080, rev 2022.9.22.32478

It seems syntax highlight isn't being applied in the preview (click edit on this post to try it). I think this is important, when editing your or other's posts (or just reviewing them in the editor) having syntax highlight considerably helps readability.

JavaScript example (taken from this snippet):

const summaryAnswerID = 380354; // ID of the summary answer const key = "U4DMV*8nvpm3EOpvf69Rxw(("; // taken from API documentation 

SQL example (taken from this query):

SELECT TOP 100 Id as [Post Link], Title FROM Posts ORDER BY LEN(Posts.Title) DESC 

Using Windows 10, Firefox 104.0.2 (64-bit), 1920x1080, rev 2022.9.22.32478

Syntax highlighting isn't being applied in the preview

It seems syntax highlight isn't being applied in the preview (click edit on this post to try it). I think this is important, when editing your or other's posts (or just reviewing them in the editor) having syntax highlight considerably helps readability.

JavaScript example (taken from this snippet):

const summaryAnswerID = 380354; // ID of the summary answer const key = "U4DMV*8nvpm3EOpvf69Rxw(("; // taken from API documentation 

SQL example (taken from this query):

SELECT TOP 100 Id as [Post Link], Title FROM Posts ORDER BY LEN(Posts.Title) DESC 

Using Windows 10, Firefox 104.0.2 (64-bit), 1920x1080, rev 2022.9.22.32478

Source Link
bad_coder
  • 28.5k
  • 8
  • 52
  • 136

It seems syntax highlight isn't being applied in the preview (click edit on this post to try it). I think this is important, when editing your or other's posts (or just reviewing them in the editor) having syntax highlight considerably helps readability.

JavaScript example (taken from this snippet):

const summaryAnswerID = 380354; // ID of the summary answer const key = "U4DMV*8nvpm3EOpvf69Rxw(("; // taken from API documentation 

SQL example (taken from this query):

SELECT TOP 100 Id as [Post Link], Title FROM Posts ORDER BY LEN(Posts.Title) DESC 

Using Windows 10, Firefox 104.0.2 (64-bit), 1920x1080, rev 2022.9.22.32478