docs: function removeLeadingLinebreaks(text) {
      let linebreak = determineLinebreaks(text);
      if (linebreak === "") return text;
  
      while (text.startsWith(linebreak)) {
          text = text.slice(linebreak.length);
      }
  
      return text;
  }