styles icon indicating copy to clipboard operation
styles copied to clipboard

highlight lines in code chunks

Open fmichonneau opened this issue 4 years ago • 1 comments

originally suggested here: https://github.com/datacarpentry/sql-ecology-lesson/issues/231

What would it take to allow lesson authors to highlight specific lines/segments in code chunks?

fmichonneau avatar Aug 12 '20 12:08 fmichonneau

Could it be done by defining css for the <em> tag inside a code block so that lesson authors could use *highlighted part* inside the code block?

also note: I'm speculating without having looked at any css, only how jekyll converts * into html.

brownsarahm avatar Aug 14 '20 00:08 brownsarahm