Gibt es einen einfachen Weg, führende Leerzeichen und andere Formatierungen in einem Gedicht beizubehalten?

hi @pinetree1111 :wave: willkommen

ich bin mir nicht sicher, ob du das als “einfach” betrachtest, aber ich finde es einfach, weil ich es gelegentlich in meinen Beiträgen verwendet habe lol.

du kannst   für Leerzeichen verwenden:
so

hello world
 this is a line with a leading space
  this is a line with 2 leading spaces
   this is a line with 3 leading spaces

code:

hello world
 this is a line with a leading space
  this is a line with 2 leading spaces
    this is a line with 3 leading spaces

du kannst auch Leerzeichen dazwischen lassen

hello world
  this is a line with 2 leading spaces
    this is a line with 4 leading spaces
      this is a line with 6 leading spaces

hello world
  this is a line with 2 leading spaces
    this is a line with 4 leading spaces
      this is a line with 6 leading spaces