Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

Better Objective-C syntax highlighting? #25

Closed
forgot opened this issue Apr 28, 2014 · 3 comments
Closed

Better Objective-C syntax highlighting? #25

forgot opened this issue Apr 28, 2014 · 3 comments
Labels

Comments

@forgot
Copy link

forgot commented Apr 28, 2014

I know Jekyll supports Objective-C syntax highlighting now, but the Pygments implementation very bland. Is there a better way to do it? I've searched for hours, and short of writing my own (which I have absolutely no idea how to do), I'm beginning to believe this is the only option. Beggars can't be choosers, so if there's nothing else I'll be fine, but it never hurts to check.

@parkr
Copy link
Member

parkr commented Apr 28, 2014

Are you looking for a CSS document which will make your Obj-C look better? Or for a better processor?

@forgot
Copy link
Author

forgot commented Apr 28, 2014

A CSS document. Sorry for the lack of clarification...

(The "writing my own" comment was in reference to a Pygments lexer. I have no problem with Pygments.)

@mscharley
Copy link

What are you using already? I know I changed mine up a little in the name of getting it to fit in with Solarized, but I can't remember how much. Either way, my copy of the syntax stylesheet is pretty well commented as a starting point:

https://bitbucket.org/matthew-scharley/matt.scharley.me/src/d5531861bf9054537dd2fecacd873227ec1142c9/src/_sass/?at=master

You're looking at _solarized.scss for the colour definitions and _syntax.scss for the actual highlighting code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants