Neon parsing – multiline strings

7 years ago

hever
Member | 4
+
0
-

How to write multiline string in Neon? I can't find a way in neon sanbox.

YAML knows it: http://yaml.org/…or_ruby.html#…

7 years ago

HosipLan
Moderator | 4693
+
0
-

There is no need for them, why would you need to write multiline strings in config file?

I've created an issue, well see what others think.

7 years ago

hever
Member | 4
+
0
-

HosipLan wrote:

why would you need to write multiline strings in config file?

I excepted this question. I would like to use Neon not only for its primary purpose. Multi-line string is only I missed.

Last edited by hever (2012-03-09 12:25)

7 years ago

David Grudl
Nette Core | 6849
+
0
-

Multiline strings are now supported using \n in double quoted string: "Line \n Line2".