Skip to content

Commit

Permalink
Added an example of using a global tag
Browse files Browse the repository at this point in the history
From the yaml spec
  • Loading branch information
alex authored and sigmavirus24 committed Dec 8, 2016
1 parent 989bfd7 commit e09a1ee
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions examples/global-tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
%TAG ! tag:clarkevans.com,2002:
--- !shape
# Use the ! handle for presenting
# tag:clarkevans.com,2002:circle
- !circle
center: &ORIGIN {x: 73, y: 129}
radius: 7
- !line
start: *ORIGIN
finish: { x: 89, y: 102 }
- !label
start: *ORIGIN
color: 0xFFEEBB
text: Pretty vector drawing.

0 comments on commit e09a1ee

Please sign in to comment.