6 header: "\e[0;1;30;40m"
13 directive: { start: "\e[35m", end: "\e[0;1;30;40m" }
14 document-start: { start: "\e[35m", end: "\e[0;1;30;40m" }
15 document-end: { start: "\e[35m", end: "\e[0;1;30;40m" }
19 flow-sequence-start: { start: "\e[33m", end: "\e[0;1;30;40m" }
20 flow-mapping-start: { start: "\e[33m", end: "\e[0;1;30;40m" }
21 flow-sequence-end: { start: "\e[33m", end: "\e[0;1;30;40m" }
22 flow-mapping-end: { start: "\e[33m", end: "\e[0;1;30;40m" }
23 key: { start: "\e[33m", end: "\e[0;1;30;40m" }
24 value: { start: "\e[33m", end: "\e[0;1;30;40m" }
25 block-entry: { start: "\e[33m", end: "\e[0;1;30;40m" }
26 flow-entry: { start: "\e[33m", end: "\e[0;1;30;40m" }
27 alias: { start: "\e[32m", end: "\e[0;1;30;40m" }
28 anchor: { start: "\e[32m", end: "\e[0;1;30;40m" }
29 tag: { start: "\e[32m", end: "\e[0;1;30;40m" }
30 scalar: { start: "\e[36m", end: "\e[0;1;30;40m" }
45 directive: { start: <code class="directive_token">, end: </code> }
46 document-start: { start: <code class="document_start_token">, end: </code> }
47 document-end: { start: <code class="document_end_token">, end: </code> }
51 flow-sequence-start: { start: <code class="delimiter_token">, end: </code> }
52 flow-mapping-start: { start: <code class="delimiter_token">, end: </code> }
53 flow-sequence-end: { start: <code class="delimiter_token">, end: </code> }
54 flow-mapping-end: { start: <code class="delimiter_token">, end: </code> }
55 key: { start: <code class="delimiter_token">, end: </code> }
56 value: { start: <code class="delimiter_token">, end: </code> }
57 block-entry: { start: <code class="delimiter_token">, end: </code> }
58 flow-entry: { start: <code class="delimiter_token">, end: </code> }
59 alias: { start: <code class="anchor_token">, end: </code> }
60 anchor: { start: <code class="anchor_token">, end: </code> }
61 tag: { start: <code class="tag_token">, end: </code> }
62 scalar: { start: <code class="scalar_token">, end: </code> }
65 stream-start: { start: <pre class="yaml_stream"> }
66 stream-end: { end: </pre> }
67 document-start: { start: <span class="document"> }
68 document-end: { end: </span> }
69 sequence-start: { start: <span class="sequence"> }
70 sequence-end: { end: </span> }
71 mapping-start: { start: <span class="mapping"> }
72 mapping-end: { end: </span> }
73 scalar: { start: <span class="scalar">, end: </span> }
91 <title>A YAML stream</title>
92 <style type="text/css">
93 .document { background: #FFF }
94 .sequence { background: #EEF }
95 .mapping { background: #EFE }
96 .scalar { background: #FEE }
97 .directive_token { color: #C0C }
98 .document_start_token { color: #C0C; font-weight: bold }
99 .document_end_token { color: #C0C; font-weight: bold }
100 .delimiter_token { color: #600; font-weight: bold }
101 .anchor_token { color: #090 }
102 .tag_token { color: #090 }
103 .scalar_token { color: #000 }
104 .yaml_stream { color: #999 }