Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

The syntax highlighting does not recognize the end of string in 'no escapes in pascal \' because of the backslash. Example:

pascalString1 := 'In pascal \n and \' are not recognized but '+sLineBreak+' and ''' are.';

This answer demonstrates the problem IRL with '\' in the source: In-place editing of a subitem in a TListView

share|improve this question
From…, I think the fundamental issue here is that we don't include lang-pascal.js ; checking... – Marc Gravell Mar 13 '13 at 13:30
seems to all be in place now, btw – Marc Gravell Mar 14 '13 at 10:01
up vote 4 down vote accepted

OK; I've added the lang-pascal.js addition into our standard "prettify" bundle, which means that this should start working after the next build. I've verified that this addition fixes the line-end issue: it does. I've also designated lang-pascal as the code-language for and .

So: it should start working after the next build.

Note that we store the markdown => html output, so it will mainly apply for posts that are edited or created after this time.

share|improve this answer
Marc: Could this cause code-comments to break in Delphi? (…). – Matt Mar 14 '13 at 22:24
Adding lang-delphi to Delphi posts fixes their highlighting. Can the Delphi tag be updated to use that? – Martijn Pieters Mar 14 '13 at 22:35
@Martin to the best of my knowledge there is no lang-delphi... I can check, though... – Marc Gravell Mar 14 '13 at 22:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .