functionality for highlighting multiple paragraphs