Skip to content
Discussion options

You must be logged in to vote

Hey @powersurge360, thanks for asking about this and for your willingness to dig in. The docsite is generated by Jekyll, which uses the rouge gem by default. I just had a look at rouge's Ruby lexer and I don't see anything in there for syntax highlighting heredocs. It looks like it's possible to compose lexers together though. Check out how the ERB lexer does it here.

Good luck!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joelhawksley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants