7

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 after saving, on the profile page the code which should be formatted is just a simple text with grey background and consolase fonttype.

0
7

We don't support syntax highlighting in the profile. If you want to make a case for why we should, a feature request would be fine.

I'll see about turning the preview off (thanks for pointing that out, Patrick!) to match the server-side behaviour.

6
  • 1
    Agreed. Doesn't seem useful, but can the editor be fixed then? It is confusing now. – Patrick Hofman Mar 29 '15 at 19:56
  • 1
    @PatrickHofman What do you mean? Fixed how? – Adam Lear Mar 29 '15 at 20:04
  • 4
    According to OP the highlighting seems to work in the preview box, but not in the end result. That seems a bug to me. – Patrick Hofman Mar 29 '15 at 20:33
  • 1
    @PatrickHofman Ahh, I missed that part. Sorry about that. I'll see about turning that off. – Adam Lear Mar 29 '15 at 20:36
  • Retagged better now. – Shadow Wizard is Vaccinating Mar 29 '15 at 20:40
  • 1
    @AdamLear is there a regression wrt the preview? I just saw a fresh post on MSO about it: meta.stackoverflow.com/q/388031/578411. Maybe the code fences are to blame? – rene Aug 1 '19 at 14:51

You must log in to answer this question.

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