Line Numbers and Line Highlighting in CodeBox
I love this webservice.
It will be even more awesome if you consider adding following features in the codebox
- show line numbers
- highlight specific lines
We’ve added support for line numbers and line highlights now. Check it out: https://slides.com/news/code-line-numbers
Jon Kinney commented
This is great, and I love the ability to sync a code step with another text fragment that will allow you to "annotate" each line with a small amount of helper text. However, to achieve the effect I desire, I have to put text fragments on top of each other which makes them harder to go back and edit. It'd be great if you enhanced the code line highlight feature to include a text annotation as a part of that feature itself so we didn't have to monkey around with syncing with other text fragments unless we needed something super custom and placed in a unique way. By default, it'd be great to have the text annotation "just appear" below the code block in a consistent way and fade in and out per step.
@sferey, Could you explain what you mean?
Add https://github.com/wcoder/highlightjs-line-numbers.js for lines