File: test.mml.ref

package info (click to toggle)
kf6-syntax-highlighting 6.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 47,568 kB
  • sloc: xml: 197,750; cpp: 12,850; python: 3,023; sh: 955; perl: 546; ruby: 488; pascal: 393; javascript: 161; php: 150; jsp: 132; lisp: 131; haskell: 124; ada: 119; ansic: 107; makefile: 96; f90: 94; ml: 85; cobol: 81; yacc: 71; csh: 62; erlang: 54; sql: 51; java: 47; objc: 37; awk: 31; asm: 30; tcl: 29; fortran: 18; cs: 10
file content (33 lines) | stat: -rw-r--r-- 5,485 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<Comment># Normal YAML highlighting:</Comment><br/>
<Key>_parts</Key><Key Points Operator>:</Key Points Operator><br/>
<Attribute>  </Attribute><Key>srid</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Alias>&srid</Alias><Attribute> "3857"</Attribute><br/>
<Comment>  # YAML comment</Comment><br/>
<Attribute>  </Attribute><Key>world</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Alias>&world</Alias><br/>
<Attribute>    </Attribute><Operator>-</Operator><Normal Text> </Normal Text><Integer>-180</Integer><br/>
<Attribute>  </Attribute><Key>extents</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Alias>&extents</Alias><br/>
<Attribute>    </Attribute><Key>extent</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Reference>*world</Reference><br/>
<Attribute>    </Attribute><Key>srs-name</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Reference>*srid</Reference><br/>
<Key>scale</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Integer>1</Integer><br/>
<Key>interactivity</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Boolean>false</Boolean><br/>
<Attribute></Attribute><br/>
<Key>Layer</Key><Key Points Operator>:</Key Points Operator><br/>
<Attribute>  </Attribute><Operator>-</Operator><Normal Text> </Normal Text><Key>id</Key><Key Points Operator>:</Key Points Operator><Attribute> water-lines-low-zoom</Attribute><br/>
<Attribute>    </Attribute><Key>geometry</Key><Key Points Operator>:</Key Points Operator><Attribute> linestring</Attribute><br/>
<Attribute>    </Attribute><Key>geometry2</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><String>"string"</String><br/>
<Attribute>    </Attribute><Key>Datasource</Key><Key Points Operator>:</Key Points Operator><br/>
<Attribute>      </Attribute><Key><<</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Reference>*osm2pgsql</Reference><br/>
<Key>      table</Key><Key Points Operator>: </Key Points Operator><Literal/Folded Operator>|-</Literal/Folded Operator><br/>
<Normal Text>        </Normal Text><Comment>-- Highlighting the table SQL by including PostgreSQL highlighting:</Comment><br/>
<Normal Text>        (</Normal Text><Keyword>SELECT</Keyword><br/>
<Normal Text>            way,</Normal Text><br/>
<Normal Text>            </Normal Text><Comment>-- SQL comment</Comment><br/>
<Normal Text>            waterway,</Normal Text><br/>
<Normal Text>            </Normal Text><ControlFlow>CASE</ControlFlow><Normal Text> </Normal Text><ControlFlow>WHEN</ControlFlow><Normal Text> tags</Normal Text><Operator>-></Operator><Verbatim string>'intermittent</Verbatim string><String delimiter>'</String delimiter><Normal Text> </Normal Text><Operator Keyword>IN</Operator Keyword><Normal Text> (</Normal Text><Verbatim string>'yes</Verbatim string><String delimiter>'</String delimiter><Normal Text>)</Normal Text><br/>
<Normal Text>              </Normal Text><Operator Keyword>OR</Operator Keyword><Normal Text> tags</Normal Text><Operator>-></Operator><Verbatim string>'seasonal</Verbatim string><String delimiter>'</String delimiter><Normal Text> </Normal Text><Operator Keyword>IN</Operator Keyword><Normal Text> (</Normal Text><Verbatim string>'yes</Verbatim string><String delimiter>'</String delimiter><Normal Text>, </Normal Text><Verbatim string>'spring</Verbatim string><String delimiter>'</String delimiter><Normal Text>, </Normal Text><Verbatim string>'summer</Verbatim string><String delimiter>'</String delimiter><Normal Text>, </Normal Text><Verbatim string>'autumn</Verbatim string><String delimiter>'</String delimiter><Normal Text>, </Normal Text><Verbatim string>'winter</Verbatim string><String delimiter>'</String delimiter><Normal Text>, </Normal Text><Verbatim string>'wet_season</Verbatim string><String delimiter>'</String delimiter><Normal Text>, </Normal Text><Verbatim string>'dry_season</Verbatim string><String delimiter>'</String delimiter><Normal Text>)</Normal Text><br/>
<Normal Text>              </Normal Text><ControlFlow>THEN</ControlFlow><Normal Text> </Normal Text><Verbatim string>'yes</Verbatim string><String delimiter>'</String delimiter><Normal Text> </Normal Text><ControlFlow>ELSE</ControlFlow><Normal Text> </Normal Text><Verbatim string>'no</Verbatim string><String delimiter>'</String delimiter><Normal Text> </Normal Text><ControlFlow>END</ControlFlow><Normal Text> </Normal Text><Keyword>AS</Keyword><Normal Text> int_intermittent</Normal Text><br/>
<Normal Text>          </Normal Text><Keyword>FROM</Keyword><Normal Text> planet_osm_line</Normal Text><br/>
<Normal Text>          </Normal Text><Keyword>WHERE</Keyword><Normal Text> waterway </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Verbatim string>'river</Verbatim string><String delimiter>'</String delimiter><br/>
<Normal Text>        ) </Normal Text><Keyword>AS</Keyword><Normal Text> water_lines_low_zoom</Normal Text><br/>
<Attribute>    </Attribute><Key>properties</Key><Key Points Operator>:</Key Points Operator><br/>
<Attribute>      </Attribute><Key>minzoom</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Integer>8</Integer><Comment> # number</Comment><br/>
<Attribute>      </Attribute><Key>maxzoom</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Integer>11</Integer><Comment> # number</Comment><br/>