Warning, /frameworks/syntax-highlighting/autotests/folding/test.mml.fold is written in an unsupported language. File is not indexed.
0001 <indentfold># Normal YAML highlighting:
0002 _parts:
0003 srid: &srid "3857"
0004 # YAML comment
0005 world: &world
0006 - -180
0007 extents: &extents
0008 extent: *world
0009 srs-name: *srid
0010 scale: 1
0011 interactivity: false
0012
0013 Layer:
0014 - id: water-lines-low-zoom
0015 geometry: linestring
0016 geometry2: <beginfold id='1'>"</beginfold id='1'>string<endfold id='1'>"</endfold id='1'>
0017 Datasource:
0018 <<: *osm2pgsql
0019 </indentfold> table: <beginfold id='2'>|-</beginfold id='2'>
0020 -- Highlighting the table SQL by including PostgreSQL highlighting:
0021 (SELECT
0022 way,
0023 -- SQL comment
0024 waterway,
0025 CASE WHEN tags->'intermittent' IN ('yes')
0026 OR tags->'seasonal' IN ('yes', 'spring', 'summer', 'autumn', 'winter', 'wet_season', 'dry_season')
0027 THEN 'yes' ELSE 'no' END AS int_intermittent
0028 FROM planet_osm_line
0029 WHERE waterway = 'river'
0030 ) AS water_lines_low_zoom
0031 <indentfold><endfold id='2'></endfold id='2'> properties:
0032 minzoom: 8 # number
0033 maxzoom: 11 # number