about summary refs log tree commit diff stats
path: root/test.fff
diff options
context:
space:
mode:
Diffstat (limited to 'test.fff')
-rw-r--r--test.fff51
1 files changed, 51 insertions, 0 deletions
diff --git a/test.fff b/test.fff new file mode 100644 index 0000000..5df4000 --- /dev/null +++ b/test.fff
@@ -0,0 +1,51 @@
1# fff test file
2## mime-type: text/flat-as-fuck or text/plain
3
4## "naked" items
5
6naked1: value1
7naked2: value2
8
9## objects
10# objects are names followed by 2 colons then a block of items
11# a blank line ends the object.
12
13U.S. Capitals::
14Alaska: Anchorage
15New York: Albany
16
17World capitals::
18France: Paris
19Mexico: Mexico City
20
21## arrays
22# arrays are similar to objects, except the items don't have keys.
23# you can't have "naked" array items, because fff files always map to json objects.
24
25My favorite fruit::
26: apple
27: banana
28: grape
29
30Vegetables I hate::
31: mushrooms
32: corn
33
34## References
35# For structure, you can reference previously-defined objects, arrays, and items as values.
36# Prepend the thing's name with "@".
37
38Capitals::
39: @U.S. Capitals
40: @World capitals
41
42## You can put pretty much anything in the name of something or its value.
43# If you need to escape it, use a backslash.
44
45Fargo\: the movie: one of the films of all time
46You can even: escape new lines \
47 with a backslash. it'll delete all the space preceding the value \
48 on the \#next line so you can have nice hanging indents. \
49\ (If you need weird spacing ... you can do this weird backslash thing.)
50
51My twitter handle: \@iDontHaveOneLol