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

Amazon launches robotaxi service in San Francisco in problem to Google’s Waymo | San Francisco

Amazon’s Zoox is launching its robotaxi service in San Francisco, providing free rides by way of elements of the town because it accelerates...

Waymo proclaims that its robotaxis will drive freeways for the primary time | Know-how

Alphabet’s Waymo mentioned on Wednesday that it's going to start providing robotaxi rides that use freeways throughout San Francisco, Los Angeles and Phoenix,...

The race begins to make the world’s greatest self-driving vehicles | Expertise

Hi there, and welcome to TechScape. I’m your host, Blake Montgomery, writing to you from Barcelona, the place my food plan has remodeled...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here