Minor mode for highlighting paragraphs under the cursor. Similar to the built-in hl-line mode.
(add-to-list 'load-path "/path/to/hl-paragraph-mode")
(require 'hl-paragraph-mode)
(hl-paragraph-mode)
enables the mode locally.
(hl-paragraph-global-mode)
enables it globally.
By default hl-paragraph-mode
will highlight the lines in a paragraph.
To change it so only the text inside the paragraph is highlighted, set its value to nil.
(setq hl-paragraph-highlight-entire-line nil)
The face hl-paragraph-face
can be customized. By default it inherits its attributes from hl-line
.
(set-face-attribute 'hl-paragraph-face nil :background "yellow")
This makes the background of the highlighted text yellow.