Warning, /frameworks/syntax-highlighting/autotests/input/highlight.toml is written in an unsupported language. File is not indexed.

0001 # our homepage url
0002 baseURL = "https://cullmann.io/"
0003 
0004 # default author
0005 [Author]
0006     name = "Christoph Cullmann"
0007 
0008 [outputs]
0009     # JSON for search
0010     home = ["HTML", "RSS", "JSON"]
0011 
0012 [ params ]
0013     dateFormat = "January 2, 2006"
0014     commit = true
0015     rss = false
0016 
0017 
0018 #
0019 # links to my public profiles
0020 #
0021 
0022 [[params.social]]
0023     name = "E-Mail"
0024     icon = "fa fa-envelope"
0025     weight = 1
0026     url = "mailto:christoph@cullmann.io"
0027 
0028 [[ params . social ]]
0029     name = "GitHub"
0030     icon = "fab fa-github"
0031     weight = 2
0032     url = "https://github.com/christoph-cullmann/"
0033 
0034 
0035 # Single quoted keys: examples from spec
0036 'key2' = "value"
0037 'quoted "value"' = "value"
0038 
0039 # Syntax used in Cargo.toml for platform-specific deps
0040 [target.'cfg(all(windows, target_env="msvc"))'.build-dependencies]
0041 vcpkg = { 'version' = '0.2' }
0042 
0043 = "no key name"  # INVALID
0044 "" = "blank"     # VALID but discouraged
0045 '' = 'blank'     # VALID but discouraged
0046 name = "Orange"
0047 fruit.name = "banana"     # this is best practice
0048 fruit. color = "yellow"    # same as fruit.color
0049 fruit . flavor = "banana"   # same as fruit.flavor
0050 site."google.com" = true
0051 str4 = """Here are two quotation marks: "". Simple enough."""
0052 # str5 = """Here are three quotation marks: """."""  # INVALID
0053 str5 = """Here are three quotation marks: ""\".""" # comment
0054 str6 = """Here are fifteen quotation marks: ""\"""\"""\"""\"""\".""" # comment
0055 
0056 # "This," she said, "is just a pointless statement."
0057 str7 = """"This," she said, "is just a pointless statement."""" # comment
0058 str7 = """""This," she said, "is just a pointless statement.""""" # comment
0059 str7 = """Here are fifteen quotation marks: """""" # INVALID
0060 
0061 quot15 = '''Here are fifteen quotation marks: """""""""""""""''' # comment
0062 str = ''''That,' she said, 'is still pointless.'''' # comment
0063 str = '''''That,' she said, 'is still pointless.''''' # comment
0064 str = '''''That,' she said, 'is still pointless.'''''' # INVALID
0065 
0066 str = "x\tx\xx\nx\ux\xx\u123x\u12345x\U1234x\U1234567x\U123456789x"
0067 
0068 int1 = +99
0069 int2 = 42
0070 int3 = 0
0071 int4 = -17
0072 
0073 int5 = 1_000
0074 int6 = 5_349_221
0075 int7 = 53_49_221  # Indian number system grouping
0076 int8 = 1_2_3_4_5  # VALID but discouraged
0077 
0078 # Invalid due to leading zeros
0079 int9 = 030
0080 int10 = 0_30
0081 
0082 # hexadecimal with prefix `0x`
0083 hex1 = 0xDEADBEEF
0084 hex2 = 0xdeadbeef
0085 hex3 = 0xdead_beef
0086 
0087 # octal with prefix `0o`
0088 oct1 = 0o01234567
0089 oct2 = 0o755 # useful for Unix file permissions
0090 
0091 # binary with prefix `0b`
0092 bin1 = 0b11010110
0093 
0094 # fractional
0095 flt1 = +1.0
0096 flt2 = 3.1415
0097 flt3 = -0.01
0098 
0099 # exponent
0100 flt4 = 5e+22
0101 flt5 = 1e06
0102 flt6 = -2E-2
0103 
0104 # both
0105 flt7 = 6.626e-34
0106 
0107 flt0 = 0.0
0108 flt0 = +0.0
0109 flt0 = -0.0
0110 
0111 # INVALID FLOATS
0112 invalid_float_1 = .7
0113 invalid_float_2 = 7.
0114 invalid_float_3 = 3.e+20
0115 invalid_float_4 = 00.1
0116 
0117 flt8 = 224_617.445_991_228
0118 
0119 # infinity
0120 sf1 = inf  # positive infinity
0121 sf2 = +inf # positive infinity
0122 sf3 = -inf # negative infinity
0123 
0124 # not a number
0125 sf4 = nan  # actual sNaN/qNaN encoding is implementation-specific
0126 sf5 = +nan # same as `nan`
0127 sf6 = -nan # valid, actual encoding is implementation-specific
0128 
0129 # RFC 3339
0130 odt1 = 1979-05-27T07:32:00+01:30
0131 odt1 = 1979-05-27T07:32:00Z
0132 odt2 = 1979-05-27T00:32:00-07:00
0133 odt3 = 1979-05-27T00:32:00.999999-07:00
0134 # RFC 3339 section 5.6
0135 odt4 = 1979-05-27 07:32:00Z
0136 
0137 ldt1 = 1979-05-27T07:32:00
0138 ldt2 = 1979-05-27T00:32:00.999999
0139 ld1 = 1979-05-27
0140 lt1 = 07:32:00
0141 lt2 = 00:32:00.999999
0142 
0143 integers = [ 1, 2, 3 ]
0144 colors = [ "red", "yellow", "green" ]
0145 nested_arrays_of_ints = [ [ 1, 2 ], [3, 4, 5] ]
0146 nested_mixed_array = [ [ 1, 2 ], ["a", "b", "c"] ]
0147 string_array = [ "all", 'strings', """are the same""", '''type''' ]
0148 
0149 # Mixed-type arrays are allowed
0150 numbers = [ 0.1, 0.2, 0.5, 1, 2, 5 ]
0151 contributors = [
0152   "Foo Bar <foo@example.com>",
0153   { name = "Baz Qux", email = "bazqux@example.com", url = "https://example.com/bazqux" }
0154 ]
0155 
0156 integers3 = [
0157   1,
0158   2, # this is ok
0159 ]
0160 
0161 name = { first = "Tom", last = "Preston-Werner" }
0162 point = { x = 1, y = 2 }
0163 animal = { type.name = "pug" }
0164 
0165 key = "value" "INVALID" # comment