Skip to main content

All Questions

8 votes
1 answer
179 views

Code syntaxhighlighting does not work in "About Me"

I placed some source-code in the "About Me" section and it does not seem to work properly. During the formatting <!-- language: java --> results syntax-highlighted code in the preview box but ...
Mark's user avatar
  • 281
1 vote
2 answers
116 views

Is syntax highlighting only applied to code after posting?

Is syntax highlighting only applied to code after the post is posted? // test code for (int i = 1; i < 4; i++) { s = s + "abc" + 'd' } Also, will the formatted blocks that were shown as being ...
user avatar
0 votes
1 answer
229 views

Where can I find a documentation for the prettify code script stackoverflow uses? [duplicate]

Possible Duplicate: StackOverflow's code color-coding script. Available? The formated code tag seems to be rendered with a JavaScript library called prettify. Is this something Open Source and ...
powtac's user avatar
  • 1,920
21 votes
1 answer
648 views

Implement (e.g.) <!-- language: lang-css --> in preview

Okay, so we've got Interface options for specifying language prettify implemented now, which is fantastic! There's a little bitty problem, though: As it stands, this doesn't work right in previews. ...
SamB's user avatar
  • 1,285
5 votes
1 answer
421 views

Why do I get nice Erlang syntax coloring in preview but not in the rendered page after I post?

While I edit Erlang code there is nice syntax coloring shown in the preview. Once I post, the rendered code is often only black on grey. Example: Erlang pattern matching bitstrings Counterexample: ...
Peer Stritzinger's user avatar
2 votes
1 answer
141 views

Formatting bug causing code to not show up [duplicate]

Possible Duplicate: Unbalanced blank lines after inline HTML comments might break formatting In this post: Formatting Sandbox the preview shows code (stuff indented 4 spaces), while the regular ...
Gabe's user avatar
  • 5,170
11 votes
0 answers
189 views

Style XML element in code block messes up syntax highlighting coloring [duplicate]

If you put some XML in a code block (by indenting by 4 spaces) and one of the tags is <Style> it will mess up the syntax highlighting of the generated result. This works: <Style2 Foo="...
Isak Savo's user avatar
  • 211