Due to a recent request I’ve added a feature in Crayon that allows you to specify a line range (e.g. 3-5) of code to include in the Crayon. Only the lines in this range are actually used in the output. Here’s the original: And with a range: You can also provide the range as a single number and only show one line in the output. This will be released with Crayon 1.10.2, but it’s available now at GitHub.