# Triple-backtick template literal with indentation support

**URL:** <https://es.discourse.group/t/triple-backtick-template-literal-with-indentation-support/337>\
**Category:** 💡 Ideas\
**Tags:** proposal\
**Created:** [May 20, 2020, 1:38pm UTC](https://es.discourse.group/t/triple-backtick-template-literal-with-indentation-support/337 "2020-05-20T13:38:25Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![sken130](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/sken130/32/1811_2.png) [@sken130](https://es.discourse.group/u/sken130)\
**Post date:** [July 20, 2023, 2:08am UTC](https://es.discourse.group/t/triple-backtick-template-literal-with-indentation-support/337/12 "2023-07-20T02:08:56Z")

</div>

# 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:

> [@Raw string literals that can contain any arbitrary text without the need for special escape sequences](https://es.discourse.group/t/raw-string-literals-that-can-contain-any-arbitrary-text-without-the-need-for-special-escape-sequences/1757):
>
> Not sure if it's too late for me to post this now. I just saw a previous proposal: [https://es.discourse.group/t/triple-backtick-template-literal-with-indentation-support/337](https://es.discourse.group/t/triple-backtick-template-literal-with-indentation-support/337) The proposal only targeted to solve the indentation problem of multiline strings, but it will use up the triple backtick (```) syntax, and making my proposal below likely not able to be implemented without breaking existing codes. Here is my proposal. Learn from (or combine with) the idea of C# 11's raw string literals, …

---

_[View the full topic](https://es.discourse.group/t/triple-backtick-template-literal-with-indentation-support/337)._
