Permalink
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (31 sloc) 562 Bytes
=== Spec Example 6.18. Primary Tag Handle [1.3]
--- from: 9WXW, modified for YAML 1.3
--- tags: spec directive tag 1.3-mod
--- in-yaml(<)
# Private
---
!foo "bar"
...
# Global
%TAG ! tag:example.com,2000:app/
---
!foo "bar"
--- out-yaml(<)
---
!foo "bar"
...
--- !<tag:example.com,2000:app/foo>
"bar"
--- emit-yaml(<)
--- !foo "bar"
...
--- !<tag:example.com,2000:app/foo> "bar"
--- test-event
+STR
+DOC ---
=VAL <!foo> "bar
-DOC ...
+DOC ---
=VAL <tag:example.com,2000:app/foo> "bar
-DOC
-STR