I want a style to insert some text when I select a paragraph style. I know it’s counter intuitive. The reason I’m trying to do is because I’m using pandoc to convert my short story markdown into odt file format. Pandoc uses horizontal line style to insert a scene break. So, the scene break, right now, is displayed with a horizontal line. I want it to show a center aligned “#” text. Is that possible?
Edit your question to describe the translated markdown. There are many ways to insert an horizontal line. One of them is no-real-line-at all, i.e. it is a bottom or top border for some paragraph style. In this case, you would trade a paragraph property for a new paragraph containing “#”.
The answer heavily depends on what is done by pandoc of which I’m totally ignorant.