5

When adding pre-formatted text in the Markdown editor on main, the text doesn't get coloured even when I explicitly tell it that it is PHP code like this example:

<!-- language: lang-php -->

    public function someFunction(){
        $variable = Mage::getModel('router/somemodel');
    }

Is this a bug? Or is code colouring only available on select SE websites?

I'm not sure what to tag this post with since it's probably by design and not a bug. So I tagged it with .

0

1 Answer 1

3

IIRC this is a limitation when the site is a BETA.

3
  • 2
    I sure hope so!
    – davidalger
    Commented May 3, 2013 at 14:33
  • 1
    I would definitely like to see code colouring even in Beta. I feel it devalues the site somewhat when you have a block of code that's borderline unreadable.
    – Dan Hanly
    Commented Sep 2, 2014 at 13:52
  • Me too, I vote for code coloring(for PHP/HTML, XML, JS & SQL) to be enabled asap.
    – user14226
    Commented Dec 22, 2015 at 6:59

You must log in to answer this question.

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