Could you elaborate on that? How Step Definitions are connected to Gerkin? Can they be in one code snippet? If yes, we have a way to specify in Gerkin that some part of it should be highlighted as Ruby, have a look at "[subLanguage](http://highlightjs.readthedocs.org/en/latest/reference.html#sublanguage)".