Toot

Written by Rasmus Kaj πŸŽΌπŸ¦€ on 2025-01-19 at 20:41

@janriemer

My favorite is close to yours, but slightly different:

let s = "a\
        \nmultiline\
        \nstring.";

Indention is removed from the resulting string, but putting the \n first on the line makes it possible to add kept indention after the \n.

=> More informations about this toot | View the thread | More toots from rkaj@mastodon.nu

Mentions

=> View janriemer@floss.social profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113856957796470604
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
223.017543 milliseconds
Gemini-to-HTML Time
0.29963 milliseconds

This content has been proxied by September (3851b).