2012-08-09 77 views

回答

61

標識符爲objective-c

在這裏你可以找到一個完整的列表: http://coapp.org/reference/garrett-flavored-markdown.html

+10

感謝您的參考。使用'objective-c'幾乎不提供語法高亮,這就是爲什麼我需要它。但是,由於你的名單,我發現'smalltalk',它提供了github中非常豐富多彩的客觀C代碼:) – bejonbee 2012-08-09 19:58:28

+0

該鏈接已損壞:( – 2012-11-23 16:35:24

+0

此網站位於github上:https://github.com/coapp/coapp.org /blob/master/src/dynamic/reference/garrett-flavored-markdown.html.md – Felix 2012-11-23 16:49:14

9

標識符是

objc 

這裏看到這個例子在這裏筆者得到代碼高亮的工作:https://raw.githubusercontent.com/dchohfi/KeyValueObjectMapping/master/README.md

下面是另一個例子以及:https://raw.githubusercontent.com/github/objective-c-style-guide/master/README.md

+4

它似乎是'objective-c' – Adrian 2015-02-03 21:58:51

+1

使用redcarpet markdown解析器,這給了我最好的結果,我發現'objective-提供很少或不突出顯示。 – 2015-11-06 15:51:56

0

如果您從別的其他解決方案不起作用,請嘗試objectivec,在highlight.js和prism.js中工作

相關問題