Github has a convenient way to show some lines as highlighted in the code, like so.
I'd like to know if there's a way to setup something similar with org-mode code blocks when exporting (in my use case, to HTML), so I can show a longer code block for context yet point the reader quickly towards the lines that were added or modified.
I haven't found anything obvious in the documentation. I don't know where I would start the research to implement this myself.
Can this be done? Has it already been implemented? If not, can I implement this myself? Where would I start?
I have found that org-mode exports to HTML and provides a
.code-highlighted class, but that seems to be only for the
(ref:xx) tools: hover over a reference, the corresponding code gets highlighted.