13

At the bottom of each tag info page, there is a Code Language (used for syntax highlighting). This is something that can be changed by moderators.

Well, I'd like a few adjustments if possible:

Small reminder that we can still manually set the syntax highlighting language on each post with <!-- language: lang-swift -->.

5
  • 2
    The reason we don't have default highlighting turned on for CSS is documented here. lang-yaml and lang-kotlin don't exist, so they cannot be turned on. Not sure about the Swift tags. They very likely don't have highlighting because they are version-specific tags and thus aren't used alone. When combined with a [swift] tag, the highlighting will be as expected. I'm not sure if it would be harmful to add it to the version-specific tags anyway, though.
    – Cody Gray Mod
    Commented Sep 23, 2017 at 13:26
  • @CodyGray thanks for the link for CSS. Yet, it would be nice to have swift-lang for swift2, swift3, swift4. I'll make a separate request about adding yaml and kotlin. Edit: done at meta.stackoverflow.com/questions/356979/…
    – Cœur
    Commented Sep 23, 2017 at 13:29
  • 2
    @Cœur note that SO uses the Google Prettify stuff, so if there's no yaml or kotlin available there, then it'll be a no go... See meta.stackoverflow.com/questions/274371/… and the "How do I report a bug or request a new language?" section for reference
    – Jon Clements Mod
    Commented Sep 23, 2017 at 13:31
  • @CodyGray sometimes Swift2, Swift3, Swift4 are used alone. It would be nice to make the change for those.
    – Cœur
    Commented Apr 10, 2018 at 7:04
  • Note, this request overrode previous changes from Add syntax highlighting language 'default' for tags swift2.2 and swift3 (currently none)
    – Cœur
    Commented Jan 9, 2019 at 16:53

1 Answer 1

3

After the narrowing of this request, lang-swift has now been set for these three tags.

You must log in to answer this question.

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