add config support
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
str1 =
|
||||
# comment
|
||||
|
||||
str2 #comment
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
"title" =
|
||||
'title' =
|
||||
bare_key =
|
||||
bare-key =
|
||||
1234 =
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
apple.type =
|
||||
3.14159 =
|
||||
1.2 .3 . 4 =
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
[table-1]
|
||||
[dog."tater.man"]
|
||||
[a.b.c] # this is best practice
|
||||
[ d.e.f ] # same as [d.e.f]
|
||||
[ g . h . i ] # same as [g.h.i]
|
||||
[ j . "ʞ" . 'l' ] # same as [j."ʞ".'l']
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
# [x] you
|
||||
# [x.y] don't
|
||||
# [x.y.z] need these
|
||||
[x.y.z.w] # for this to work
|
||||
|
||||
[x] # defining a super-table afterward is ok
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
name { # error
|
||||
name } # error
|
||||
name [ # error
|
||||
name ] # error
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
[[products.1]]
|
||||
[[products.2]]
|
||||
@@ -0,0 +1,3 @@
|
||||
café =
|
||||
ñoño =
|
||||
日本語 =
|
||||
Reference in New Issue
Block a user