org export – How to replace-regexp text to the head of an org-mode paragraph

M-x replace-regexp RET ^ RET your text RET will add “your text” to the start of every line of an emacs buffer, but how could I do the same to the start of every org-mode paragraph instead, i.e., a text block separated by a hard return?

Yesterday, from this post, I added this

#+HTML_HEAD: 

to my org-mode buffer for export to html to achieve the “literary style” of paragraphs. However, the text-indent: 2em; part is interfering with something deep in my ox-tufte, so I suppose I need to just add @@html:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp@@ “manually” to the start of every paragraph block as a Plan B … unless somebody has a better idea…

Read more here: Source link