software program suggestion – Format poetry with ?

on

|

views

and

comments


the next URL recommends the usage of “pre” in HTML-formatted poetry as a approach to retain the supposed indents

<pre>AH, damaged is the golden bowl!
      The spirit flown eternally!
  Let the bell toll! — A saintly soul 
     Glides down the Stygian river!
          And let the burial ceremony be learn —
              The funeral music be sung — 
         A dirge for probably the most pretty useless
              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 would like a good suggestion, or probably some code, possibly much like the dropdown fashion operate menu, which might be made seen within the basic wysiwyg editor?!

HOW do I do that the best:

  • take the already formatted poem
  • add the supposed 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 drawback (collapsing indentations) for one more (lack of different formatting).

Thanks

PS: CAN I eliminate the encompassing border attributable to the pre-tag?

my presentation, as I presently perceive it: https://krabat.menneske.dk/kkblog/2022/10/20/html-digt-med-varige-indrykninger/

Share this
Tags

Must-read

‘Look, no palms’: China chases the driverless dream at Beijing automobile present | Self-driving vehicles

At the world’s greatest automobile truthful, which opened in Beijing on Friday, there have been tons of of producers, greater than 1,000 automobiles,...

From Black Field to Glass Field: AV 3.0, Bodily AI, and the Way forward for Lengthy-Haul Trucking

All of it started with rules-based, open ebook software program. In 2007, the Torc crew VictorTango drove Odin, a 2005 Ford Escape hybrid...

Nissan turnaround plan pins hopes on ‘AI-defined automobiles’ | Nissan

Nissan has stated it is going to add self-driving talents to the overwhelming majority of its automobiles and reduce a fifth of its...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here