Text to HTML: Difference between revisions
Content deleted Content added
Thundergnat (talk | contribs) m syntax highlighting fixup automation |
m →{{header|Wren}}: Minor tidy including usage now of raw string. |
||
Line 1,003:
{{trans|Go}}
{{libheader|Wren-pattern}}
▲<syntaxhighlight lang="ecmascript">import "/pattern" for Pattern
var t = """ Sample Text
"* This is a bulleted list with a less than sign (<)\n\n" +▼
"A 'normal' paragraph between the lists.\n\n" +▼
* And this is its second line with a greater than sign (>)
"2. \"Second line\" in double quotes\n\n" +▼
"3. 'Third line' in single quotes\n\n" +▼
"That's all folks."▼
// prefer the standard " for escaping a double-quote character rather than Go's "
|