6

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?

0

2 Answers 2

10

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.

2

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

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

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.