Triple-backtick template literal with indentation support

Why not learn from (or combine with) the idea of C# 11's raw string literals, which solves almost all problems:

  • It solves the indentation problem in this thread
  • Can contain any arbitrary text without escape sequences in the content
  • Can support interpolation and defining custom interpolation delimiters so that the "normal delimiters" can be in the content without being escaped as well

I have put the details in another idea/proposal:

1 Like