bat/tests/syntax-tests/highlighted/YAML/example.yaml
okezieuc a39f1e0f9b added new syntax highlighting files
I added a sample etc/hosts file and a sample requirements.txt file. I didn't know there was already a sample YAML file because it wasn't ticked in the issue so I added some extra syntax that I had in my own to the previous  example.yaml file.
2020-10-14 07:41:13 +02:00

35 lines
3.5 KiB
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- 
# Simple example
id: 3595
name: Test User
username: "testuser"
other_names: ['Bob', 'Bill', 'George']
hexa: 0x11c3 #inline comment
octa: 021131
lastseen: .NAN
enabled: true
locked: false
groups: 
 - administrators
 - engineering
 - sfa
address: >
 123 Alphabet Way
 San Francisco, CA
bio: |
 I am a hardworking person
 and a member of the
 executive staff
phone: null
email: ~
building_access: yes
secure_access: no
bulb: On
fans: Off
emails:
 executives:
 - bob@example.com
 - bill@example.com
 supervisors:
 - george@example.com