mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
Add YAML samples
This commit is contained in:
parent
77e9dcdca4
commit
d52230e85e
3 changed files with 32 additions and 0 deletions
|
|
@ -183,5 +183,9 @@ define([], function() { return[
|
||||||
{
|
{
|
||||||
"name": "sample.xml.txt",
|
"name": "sample.xml.txt",
|
||||||
"content": "<?xml version=\"1.0\"?>\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <connectionStrings>\r\n <add name=\"MyDB\" \r\n connectionString=\"value for the deployed Web.config file\" \r\n xdt:Transform=\"SetAttributes\" xdt:Locator=\"Match(name)\"/>\r\n </connectionStrings>\r\n <system.web>\r\n <customErrors defaultRedirect=\"GenericError.htm\"\r\n mode=\"RemoteOnly\" xdt:Transform=\"Replace\">\r\n <error statusCode=\"500\" redirect=\"InternalError.htm\"/>\r\n </customErrors>\r\n </system.web>\r\n</configuration>"
|
"content": "<?xml version=\"1.0\"?>\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <connectionStrings>\r\n <add name=\"MyDB\" \r\n connectionString=\"value for the deployed Web.config file\" \r\n xdt:Transform=\"SetAttributes\" xdt:Locator=\"Match(name)\"/>\r\n </connectionStrings>\r\n <system.web>\r\n <customErrors defaultRedirect=\"GenericError.htm\"\r\n mode=\"RemoteOnly\" xdt:Transform=\"Replace\">\r\n <error statusCode=\"500\" redirect=\"InternalError.htm\"/>\r\n </customErrors>\r\n </system.web>\r\n</configuration>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"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"
|
||||||
}
|
}
|
||||||
]; });
|
]; });
|
||||||
14
test/samples/sample.yaml.txt
Normal file
14
test/samples/sample.yaml.txt
Normal file
|
|
@ -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.
|
||||||
14
website/index/samples/sample.yaml.txt
Normal file
14
website/index/samples/sample.yaml.txt
Normal file
|
|
@ -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.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue