Skip to content

Dedented multiline string #173

Answered by zkat
twavv asked this question in Q&A
Sep 16, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi!

All strings in KDL are multiline so you don't need r# just for that. Just add newlines! Unfortunately, we don't support dedenting, pretty intentionally. It's one of those things that looks good at first but when you actually hit the sharp edges, it can hurt a lot, especially in a language like KDL that isn't indentation-sensitive.

Does that make sense?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zkat
Comment options

@twavv
Comment options

Answer selected by zkat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants