Highlight text within a code block


Is there a way to format text within an R Markdown code block without losing syntax highlighting? I’m putting together some tutorials on Shiny, and it would be nice to highlight what the changes are from one example to the next since the code blocks can get a little long. Ideally, I could change the background color to yellow or something for a specific stretch of characters.