Permalink
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (24 sloc) 462 Bytes
=== Spec Example 6.18. Primary Tag Handle
--- from: http://www.yaml.org/spec/1.2/spec.html#id2782728
--- tags: spec directive tag 1.3-err
--- 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"
--- test-event
+STR
+DOC
=VAL <!foo> "bar
-DOC ...
+DOC ---
=VAL <tag:example.com,2000:app/foo> "bar
-DOC
-STR