Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Proposal]: Raw string literal #8647

Open
CyrusNajmabadi opened this issue Nov 19, 2024 · 0 comments
Open

[Proposal]: Raw string literal #8647

CyrusNajmabadi opened this issue Nov 19, 2024 · 0 comments
Assignees
Milestone

Comments

@CyrusNajmabadi
Copy link
Member

Raw string literal

Summary

Allow a new form of string literal that starts with a minimum of three """ characters (but no maximum), optionally followed by a new_line, the content of the string, and then ends with the same number of quotes that the literal started with. For example:

var xml = """
          <element attr="content"/>
          """;

Design meetings

@CyrusNajmabadi CyrusNajmabadi self-assigned this Nov 19, 2024
@CyrusNajmabadi CyrusNajmabadi added this to the 11.0 milestone Nov 19, 2024
@jnm2 jnm2 self-assigned this Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants