On 08/10/2022 18:19, Ypo wrote:
I want to make a "query replace", where
" - " should be substituted by
"breakline - "
How do I insert in a query replace a breakline?
"\\ - " seems to work only for LaTeX export.
Why do you think so? It is an element of Org syntax, namely 'line-break.
It should be handled properly by e.g. HTML export.
"^J - " writes down ^J literally, and doesn't work as a break line.
Are you asking how to split lines before certain pattern in Org source
file (general Emacs question unrelated to Org) or how to achieve hard
line break in exported file? In the latter case what is the target format?