Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a github markdown language identifier for Objective C code?

In the official github flavored markdown docs they show how we can use fences to mark code blocks, and optionally we can supply a language identifier, such as

```ruby require 'redcarpet' markdown = Redcarpet.new("Hello World!") puts markdown.to_html ``` 

Is there a language identifier for Objective C? I've searched and cannot find a reference.

Furthermore, is there a list of all supported language identifiers that can be used in github markdown?

like image 858
Jonathan Beebe Avatar asked Aug 09 '12 19:08

Jonathan Beebe


People also ask

How do you specify a language in Markdown?

Many Markdown processors support syntax highlighting for fenced code blocks. This feature allows you to add color highlighting for whatever language your code was written in. To add syntax highlighting, specify a language next to the backticks before the fenced code block.

How do I show code in Markdown?

There are two ways to format code in Markdown. You can either use inline code, by putting backticks (`) around parts of a line, or you can use a code block, which some renderers will apply syntax highlighting to.

Which Markdown does GitHub use?

GitHub uses its own Markdown processor; GitHub Pages uses jekyll-commonmark. This means your README.md file will look different on GitHub's website than on your GitHub Pages website.


1 Answers

The identifier is objective-c.

Here you can find a full list: http://coapp.org/reference/garrett-flavored-markdown.html

like image 92
Felix Avatar answered Sep 22 '22 02:09

Felix