diff --git a/test/samples-all.generated.js b/test/samples-all.generated.js index 1e37e260fc..b7347d4eb6 100644 --- a/test/samples-all.generated.js +++ b/test/samples-all.generated.js @@ -183,5 +183,9 @@ define([], function() { return[ { "name": "sample.xml.txt", "content": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" + }, + { + "name": "sample.yaml.txt", + "content": "%TAG ! tag:clarkevans.com,2002:\n--- !shape\n # Use the ! handle for presenting\n # tag:clarkevans.com,2002:circle\n- !circle\n center: &ORIGIN {x: 73, y: 129}\n radius: 7\n- !line\n start: *ORIGIN\n finish: { x: 89, y: 102 }\n- !label\n start: *ORIGIN\n color: 0xFFEEBB\n text: Pretty vector drawing.\n" } ]; }); \ No newline at end of file diff --git a/test/samples/sample.yaml.txt b/test/samples/sample.yaml.txt new file mode 100644 index 0000000000..1180757d81 --- /dev/null +++ b/test/samples/sample.yaml.txt @@ -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. diff --git a/website/index/samples/sample.yaml.txt b/website/index/samples/sample.yaml.txt new file mode 100644 index 0000000000..1180757d81 --- /dev/null +++ b/website/index/samples/sample.yaml.txt @@ -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.