7

I've submitted a pull request to code-prettify adding syntax highlighting for Ballerina more than two months ago. But apparently code-prettify is not maintained anymore and it's not been merged yet.

Is there a chance this can be integrated into Stack Overflow?

1
  • 4
    I, for one, am disappointed the ballerina is not pretty. :P Sep 9, 2018 at 23:43

1 Answer 1

6

Realistically, that's very unlikely.

SE already supports only a subset of what Prettify supports to reduce size and load time, and adding a language that prettify doesn't support for a tag with less than 1000 questions seems unlikely to me.

For example, Mathematica support, while present on mathematica.se, is scrapped here to save page load time, even though it has ~4000 questions.

4
  • 1
    Alright, I understand. I'll look into providing this as a stack apps script or some such for ballerina enthusiasts. Sep 7, 2018 at 8:27
  • That sounds like a conditional load on the pages which have an offband language to me...
    – undefined
    Sep 9, 2018 at 21:41
  • @Luke that's not how syntax highlighting currently works. All pages get the full minified library with all supported languages
    – Erik A
    Sep 10, 2018 at 5:50
  • 1
    @ErikvonAsmuth Im sure that you are right, but with all of the great chunking tools we now have available Im sure it wouldn't be too hard to conditionally load some extra bits for specific tags
    – undefined
    Sep 10, 2018 at 9:25

You must log in to answer this question.

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