Storing long (multiline?) values. #46
Answered
by
KenKundert
vittorio-perera
asked this question in
Q&A
|
I am not sure if this is supported or even intended but I was wondering if there is a way to split the value of a key on multiple lines without this affecting the actual value. My goal is to store some longer strings (e.g., short paragraph) but keep them readable. To do so I'd like to split the text in multiple lines but still have it as a single one when it's loaded. Thanks for any help! |
Answered by
KenKundert
Apr 17, 2024
Replies: 1 comment 2 replies
|
I think the current stance on this is to not make this part of the spec, but rather a choice individual projects can make, by replacing the newlines after loading the value. It would be a policy of that project/config/value only, not NestedText itself. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@AndydeCleyre is correct. That is our stance. This is something that can and should be done by the end application on a case-by-case basis. We have also included an example of how to do so with a schema.