the next URL recommends using “pre” in HTML-formatted poetry as a option to retain the meant indents
<pre>AH, damaged is the golden bowl! The spirit flown ceaselessly! Let the bell toll! — A saintly soul Glides down the Stygian river! And let the burial ceremony be learn — The funeral track be sung — A dirge for essentially the most beautiful lifeless That ever died so younger! And, Man De Vere, Hast thou no tear? Weep now or nevermore! See, on yon drear And inflexible bier, Low lies thy love Lenore!</pre>
This must be inserted into textual content/html in wordpress editor.
I’ve to remodel 400 html-poems to make use of this preformat-tag, however many poems are already formatted with daring and italic, which is able to go misplaced when entered into the textual content/html editor.
I want a good suggestion, or presumably some code, possibly just like the dropdown type perform menu, which will be made seen within the basic wysiwyg editor?!
HOW do I do that the best:
- take the already formatted poem
- add the meant indentations
- fixate the indentations (with PRE?), so they do not vanish subsequent time I modify from visible to textual content mode within the wordpress editor?
I would like to not swop one downside (collapsing indentations) for an additional (lack of different formatting).
PS: CAN I do away with the encompassing border brought on by the pre-tag?
my presentation, as I presently perceive it: https://krabat.menneske.dk/kkblog/2022/10/20/html-digt-med-varige-indrykninger/