diff options
Diffstat (limited to 'test.fff')
-rw-r--r-- | test.fff | 51 |
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 | |||
6 | naked1: value1 | ||
7 | naked2: 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 | |||
13 | U.S. Capitals:: | ||
14 | Alaska: Anchorage | ||
15 | New York: Albany | ||
16 | |||
17 | World capitals:: | ||
18 | France: Paris | ||
19 | Mexico: 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 | |||
25 | My favorite fruit:: | ||
26 | : apple | ||
27 | : banana | ||
28 | : grape | ||
29 | |||
30 | Vegetables 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 | |||
38 | Capitals:: | ||
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 | |||
45 | Fargo\: the movie: one of the films of all time | ||
46 | You 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 | |||
51 | My twitter handle: \@iDontHaveOneLol | ||