Just noted that there is a little bug regarding diacritics in code blocks. See the screenshot:
Biz blue and the other part of code is black?
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.Sign up to join this community
Because the Google Code Prettifier doesn't count non-ASCII characters in identifiers and type names.
In 'unknown' code, anything starting with an uppercase ASCII character, followed by a mix of upper and lowercase ASCII letters is considered a type name and marked up as such. The
ă in your name is not an ASCII character, so the type name stops before that point as far as the prettifier is concerned. See the regular expression in the prettifier source code.
In this case, it is just highlighting non-code with a best-guess effort. It might be a bug if you encountered this in a programming language that allows for a broad range of Unicode characters in identifiers and type names (such as Python 3), but that'd be something to report to the Google Code Prettify project, not to Stack Exchange. See the SE syntax highlighting FAQ.
Note that they already have this on their TODO list, however. Two lines before the regular expression that picks up only part of your name is the comment:
// TODO(mikesamuel): recognize non-latin letters and numerals in idents
Martijn Pieters's answer explains what's going on in this specific case. But you might have weird colors for other reasons than non-ASCII characters. If the content of your code block isn't code in a programming language, tell the syntax highlighting engine not to use any colors by putting a magic comment immediately before the code block.
<!-- language: lang-none --> $ npm init … author: (Ionică Bizău)