const lines = `one
two`
template = """This is the first line.
This is the second line.
This is the third line."""
$xml = <<<XML
l
vv
XML;
template = """
This is the first line.
This is the second line.
This is the third line.
"""
String s = `this
string is multiline`;
( '''hello ''' // Sexp with one element
'''world!''' )
("hello world!") // The exact same sexp value
// This Ion value is a string containing three newlines. The serialized
// form's first newline is escaped into nothingness.
'''\
The first line of the string.
This is the second line of the string,
and this is the third line.
'''
{{
Line 1
Line 2
}}
Languages with Multiline Strings include JavaScript, Python, PHP, Ruby, TypeScript, Elixir, Cython, C3, Ion, progsbase, Jule, Boron, Static Typescript
Languages without Multiline Strings include JSON, JSON5, JSONiq, JSON with Comments, Superjson, Hocon, Jsonnet
HTML of this page generated by Features.ts