Skip to content

Support raw string literals #243

@drewnoakes

Description

@drewnoakes

Details

Observed with github.com's syntax highlighting of c# code blocks when using raw string literals from C# 10.

https://github.com/dotnet/csharplang/blob/main/proposals/raw-string-literal.md

Repro

var s = """
    Hello, world!
    """;

The preview for this looks like:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions