What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

I have checked the language hint list and could not find one for objective-c. My question is how should I give an objective-c hint?

share|improve this question

2 Answers 2

up vote 8 down vote accepted

Officially, it would be lang-m (it's based on the file extension), but the prettifier then uses the same handler as used for C and C++:

registerLangHandler(sourceDecorator({
        'keywords': CPP_KEYWORDS,
        'hashComments': true,
        'cStyleComments': true,
        'types': C_TYPES
      }), ['c', 'cc', 'cpp', 'cxx', 'cyc', 'm']);

so you may as well use lang-c, which is what the default is for the tag.

share|improve this answer

Just use lang-c, that's what the questions tagged are getting.

(Look at the div with your favorite browser's developer tools.)

share|improve this answer

You must log in to answer this question.

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