1 2<!doctype html> 3<html lang="en" class="no-js"> 4 <head> 5 6 <meta charset="utf-8"> 7 <meta name="viewport" content="width=device-width,initial-scale=1"> 8 9 <meta name="description" content="YAML Ain't Markup Language"> 10 11 12 <meta name="author" content="YAML"> 13 14 15 <link rel="canonical" href="https://yaml.org/"> 16 17 18 19 20 <link rel="icon" href="assets/favicon.svg"> 21 <meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.6.16"> 22 23 24 25 <title> - YAML Ain't Markup Language</title> 26 27 28 29 <link rel="stylesheet" href="assets/stylesheets/main.7e37652d.min.css"> 30 31 32 <link rel="stylesheet" href="assets/stylesheets/palette.06af60db.min.css"> 33 34 35 36 37 38 39 40 41 42 43 44 45 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> 46 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback"> 47 <style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style> 48 49 50 51 <link rel="stylesheet" href="css/extra.css"> 52 53
53<script>__md_scope=new URL(".",location),__md_hash=e=>[...e].reduce(((e,_)=>(e<<5)-e+_.charCodeAt(0)),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
53 54 55 56 57 58 59 <!-- Google Analytics with consent banner --> 60<style> 61 #gdpr-cookie-banner { 62 position: fixed; 63 right: 20px; 64 bottom: 20px; 65 z-index: 9999; 66 display: none; 67 width: calc(100% - 40px); 68 max-width: 480px; 69 padding: 24px; 70 font-size: 1.4em; 71 background: var(--md-code-bg-color); 72 border: 1px solid var(--md-default-fg-color--lightest); 73 border-radius: 16px; 74 box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); 75 opacity: 0; 76 transform: translateY(50px); 77 transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease; 78 } 79 80 #gdpr-cookie-banner.show { 81 opacity: 1; 82 transform: translateY(0); 83 } 84 85 #gdpr-cookie-banner p { 86 margin: 0 0 20px; 87 font-size: 1em; 88 line-height: 1.6; 89 color: var(--md-default-fg-color); 90 } 91 92 .cookie-btn-group { 93 display: flex; 94 gap: 12px; 95 justify-content: flex-end; 96 } 97 98 .cookie-btn { 99 padding: 12px 26px; 100 font-size: 0.8em; 101 font-weight: 600; 102 cursor: pointer; 103 border-radius: 8px; 104 transition: all 0.2s ease; 105 } 106 107 #cookie-decline { 108 color: var(--md-default-fg-color--light); 109 background: transparent; 110 border: 1px solid var(--md-default-fg-color--lightest); 111 } 112 113 #cookie-decline:hover { 114 color: var(--md-default-fg-color); 115 background: var(--md-default-bg-color--lightest); 116 } 117 118 #cookie-accept { 119 color: var(--md-primary-bg-color); 120 background: var(--md-primary-fg-color); 121 border: 1px solid var(--md-primary-fg-color); 122 } 123 124 #cookie-accept:hover { 125 background: var(--md-accent-fg-color); 126 border-color: var(--md-accent-fg-color); 127 box-shadow: 0 4px 12px rgba(63, 81, 181, 0.3); 128 transform: translateY(-1px); 129 } 130 131 @media (max-width: 768px) { 132 #gdpr-cookie-banner { 133 right: 20px; 134 left: 20px; 135 width: auto; 136 } 137 } 138</style> 139 140<div id="gdpr-cookie-banner"> 141 <p> 142 We use cookies to analyze site traffic and improve your experience with Google Analytics. 143 </p> 144 <div class="cookie-btn-group"> 145 <button id="cookie-decline" class="cookie-btn" type="button">Decline</button> 146 <button id="cookie-accept" class="cookie-btn" type="button">Accept</button> 147 </div> 148</div> 149
150<script> 151(function() { 152 var gaMeasurementId = "G-9M1457RZD1"; 153 154 function loadGoogleAnalytics() { 155 if (!gaMeasurementId || window.gtag) { 156 return; 157 } 158 159 var script = document.createElement("script"); 160 script.async = true; 161 script.src = "https://www.googletagmanager.com/gtag/js?id=" + gaMeasurementId; 162 document.head.appendChild(script); 163 164 window.dataLayer = window.dataLayer || []; 165 window.gtag = function() { 166 window.dataLayer.push(arguments); 167 }; 168 window.gtag("js", new Date()); 169 window.gtag("config", gaMeasurementId); 170 } 171 172 document.addEventListener("DOMContentLoaded", function() { 173 var consent = localStorage.getItem("cookie_consent"); 174 175 if (consent === "accepted") { 176 loadGoogleAnalytics(); 177 return; 178 } 179 180 if (consent === "declined") { 181 return; 182 } 183 184 var banner = document.getElementById("gdpr-cookie-banner"); 185 var accept = document.getElementById("cookie-accept"); 186 var decline = document.getElementById("cookie-decline"); 187 188 if (!banner || !accept || !decline) { 189 return; 190 } 191 192 banner.style.display = "block"; 193 requestAnimationFrame(function() { 194 requestAnimationFrame(function() { 195 banner.classList.add("show"); 196 }); 197 }); 198 199 accept.addEventListener("click", function() { 200 localStorage.setItem("cookie_consent", "accepted"); 201 banner.classList.remove("show"); 202 setTimeout(function() { 203 banner.style.display = "none"; 204 }, 400); 205 loadGoogleAnalytics(); 206 }); 207 208 decline.addEventListener("click", function() { 209 localStorage.setItem("cookie_consent", "declined"); 210 banner.classList.remove("show"); 211 setTimeout(function() { 212 banner.style.display = "none"; 213 }, 400); 214 }); 215 }); 216})(); 217</script>
217 218 219
219<script>"undefined"!=typeof __md_analytics&&__md_analytics()</script>
219 220 221 222 223 224 225 </head> 226 227 228 229 230 231 232 233 234 235 <body dir="ltr" data-md-color-scheme="default" data-md-color-primary="indigo" data-md-color-accent="indigo"> 236 237 238 <input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off"> 239 <input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off"> 240 <label class="md-overlay" for="__drawer"></label> 241 <div data-md-component="skip"> 242 243 </div> 244 <div data-md-component="announce"> 245 246 </div> 247 248 249 250 251<header class="md-header" data-md-component="header"> 252 <nav class="md-header__inner md-grid" aria-label="Header"> 253 <a href="." title="YAML Ain't Markup Language" class="md-header__button md-logo" aria-label="YAML Ain't Markup Language" data-md-component="logo"> 254 255 <img src="assets/logo.png" alt="logo"> 256 257 </a> 258 <label class="md-header__button md-icon" for="__drawer"> 259 260 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/></svg> 261 </label> 262 <div class="md-header__title" data-md-component="header-title"> 263 <div class="md-header__ellipsis"> 264 <div class="md-header__topic"> 265 <span class="md-ellipsis"> 266 YAML Ain't Markup Language 267 </span> 268 </div> 269 <div class="md-header__topic" data-md-component="header-topic"> 270 <span class="md-ellipsis"> 271 272 273 274 </span> 275 </div> 276 </div> 277 </div> 278 279 280 <form class="md-header__option" data-md-component="palette"> 281 282 283 284 285 <input class="md-option" data-md-color-media="" data-md-color-scheme="default" data-md-color-primary="indigo" data-md-color-accent="indigo" aria-label="Switch to dark mode" type="radio" name="__palette" id="__palette_0"> 286 287 <label class="md-header__button md-icon" title="Switch to dark mode" for="__palette_1" hidden> 288 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m14.3 16-.7-2h-3.2l-.7 2H7.8L11 7h2l3.2 9zM20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12zm-9.15 3.96h2.3L12 9z"/></svg> 289 </label> 290 291 292 293 294 295 <input class="md-option" data-md-color-media="" data-md-color-scheme="slate" data-md-color-primary="indigo" data-md-color-accent="indigo" aria-label="Switch to light mode" type="radio" name="__palette" id="__palette_1"> 296 297 <label class="md-header__button md-icon" title="Switch to light mode" for="__palette_0" hidden> 298 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a4 4 0 0 0-4 4 4 4 0 0 0 4 4 4 4 0 0 0 4-4 4 4 0 0 0-4-4m0 10a6 6 0 0 1-6-6 6 6 0 0 1 6-6 6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12z"/></svg> 299 </label> 300 301 302</form> 303 304 305 306
306<script>var palette=__md_get("__palette");if(palette&&palette.color){if("(prefers-color-scheme)"===palette.color.media){var media=matchMedia("(prefers-color-scheme: light)"),input=document.querySelector(media.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']");palette.color.media=input.getAttribute("data-md-color-media"),palette.color.scheme=input.getAttribute("data-md-color-scheme"),palette.color.primary=input.getAttribute("data-md-color-primary"),palette.color.accent=input.getAttribute("data-md-color-accent")}for(var[key,value]of Object.entries(palette.color))document.body.setAttribute("data-md-color-"+key,value)}</script>
306 307 308 309 310 311 312 <label class="md-header__button md-icon" for="__search"> 313 314 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5"/></svg> 315 </label> 316 <div class="md-search" data-md-component="search" role="dialog"> 317 <label class="md-search__overlay" for="__search"></label> 318 <div class="md-search__inner" role="search"> 319 <form class="md-search__form" name="search"> 320 <input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required> 321 <label class="md-search__icon md-icon" for="__search"> 322 323 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5"/></svg> 324 325 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg> 326 </label> 327 <nav class="md-search__options" aria-label="Search"> 328 329 <a href="javascript:void(0)" class="md-search__icon md-icon" title="Share" aria-label="Share" data-clipboard data-clipboard-text="" data-md-component="search-share" tabindex="-1"> 330 331 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9a3 3 0 0 0-3 3 3 3 0 0 0 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.15c-.05.21-.08.43-.08.66 0 1.61 1.31 2.91 2.92 2.91s2.92-1.3 2.92-2.91A2.92 2.92 0 0 0 18 16.08"/></svg> 332 </a> 333 334 <button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1"> 335 336 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg> 337 </button> 338 </nav> 339 340 </form> 341 <div class="md-search__output"> 342 <div class="md-search__scrollwrap" tabindex="0" data-md-scrollfix> 343 <div class="md-search-result" data-md-component="search-result"> 344 <div class="md-search-result__meta"> 345 Initializing search 346 </div> 347 <ol class="md-search-result__list" role="presentation"></ol> 348 </div> 349 </div> 350 </div> 351 </div> 352</div> 353 354 355 356 <div class="md-header__source"> 357 358 359<a href="https://github.com/yaml/www.yaml.org" title="source.link.title" class="md-source" data-md-component="source" target="_blank"> 360 <div class="md-source__icon md-icon"> 361 362 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M173.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6m-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3m44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9M252.8 8C114.1 8 8 113.3 8 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C436.2 457.8 504 362.9 504 252 504 113.3 391.5 8 252.8 8M105.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1m-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7m32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1m-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2"/></svg> 363 </div> 364 <div class="md-source__repository"> 365 yaml/www.yaml.org 366 </div> 367</a> 368 </div> 369 370 </nav> 371 372</header> 373 374 <div class="md-container" data-md-component="container"> 375 376 377 378 379 380<nav class="md-tabs" aria-label="Tabs" data-md-component="tabs"> 381 <div class="md-grid"> 382 <ul class="md-tabs__list"> 383 384 385 386 387 388 389 <li class="md-tabs__item"> 390 <a href="about/" class="md-tabs__link"> 391 392 393 394 395 396 About 397 398 </a> 399 </li> 400 401 402 403 404 405 406 407 408 <li class="md-tabs__item"> 409 <a href="libraries/" class="md-tabs__link"> 410 411 412 413 414 415 Libraries 416 417 </a> 418 </li> 419 420 421 422 423 424 425 426 427 <li class="md-tabs__item"> 428 <a href="tools/" class="md-tabs__link"> 429 430 431 432 433 434 Tools 435 436 </a> 437 </li> 438 439 440 441 </ul> 442 </div> 443</nav> 444 445 446 447 <main class="md-main" data-md-component="main"> 448 <div class="md-main__inner md-grid"> 449 450 451 452 453 454 <div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" hidden> 455 <div class="md-sidebar__scrollwrap"> 456 <div class="md-sidebar__inner"> 457 458 459 460 461 462 463<nav class="md-nav md-nav--primary md-nav--lifted" aria-label="Navigation" data-md-level="0"> 464 <label class="md-nav__title" for="__drawer"> 465 <a href="." title="YAML Ain't Markup Language" class="md-nav__button md-logo" aria-label="YAML Ain't Markup Language" data-md-component="logo"> 466 467 <img src="assets/logo.png" alt="logo"> 468 469 </a> 470 YAML Ain't Markup Language 471 </label> 472 473 <div class="md-nav__source"> 474 475 476<a href="https://github.com/yaml/www.yaml.org" title="source.link.title" class="md-source" data-md-component="source" target="_blank"> 477 <div class="md-source__icon md-icon"> 478 479 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.-->
479<path fill="currentColor" d="M173.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6m-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3m44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9M252.8 8C114.1 8 8 113.3 8 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C436.2 457.8 504 362.9 504 252 504 113.3 391.5 8 252.8 8M105.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1m-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7m32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1m-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2"/></svg> 480 </div> 481 <div class="md-source__repository"> 482 yaml/www.yaml.org 483 </div> 484</a> 485 </div> 486 487 <ul class="md-nav__list" data-md-scrollfix> 488 489 490 491 492 493 494 495 <li class="md-nav__item"> 496 <a href="about/" class="md-nav__link"> 497 498 499 500 <span class="md-ellipsis"> 501 About 502 503 </span> 504 505 506 </a> 507 </li> 508 509 510 511 512 513 514 515 516 517 <li class="md-nav__item"> 518 <a href="libraries/" class="md-nav__link"> 519 520 521 522 <span class="md-ellipsis"> 523 Libraries 524 525 </span> 526 527 528 </a> 529 </li> 530 531 532 533 534 535 536 537 538 539 <li class="md-nav__item"> 540 <a href="tools/" class="md-nav__link"> 541 542 543 544 <span class="md-ellipsis"> 545 Tools 546 547 </span> 548 549 550 </a> 551 </li> 552 553 554 555 </ul> 556</nav> 557 </div> 558 </div> 559 </div> 560 561 562 563 564 565 <div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" hidden> 566 <div class="md-sidebar__scrollwrap"> 567 <div class="md-sidebar__inner"> 568 569 570<nav class="md-nav md-nav--secondary" aria-label="Table of contents"> 571 572 573 574 575</nav> 576 </div> 577 </div> 578 </div> 579 580 581 582 <div class="md-content" data-md-component="content"> 583 <article class="md-content__inner md-typeset"> 584 585 586 587 588 589 590 591 <h1> </h1> 592 593<pre class=home-page> 594<span class="ydir">%YAML 1.2</span> 595<span class="ydoc">---</span> 596<span class="ykey">YAML</span><span class="ysep">:</span> YAML Ain't Markup Language⢠597 598<span class="ykey">What It Is</span><span class="ysep">:</span> 599 YAML is a human-friendly data serialization 600 language for all programming languages. 601 602<span class="ykey">YAML Specifications</span><span class="ysep">:</span> 603- <span class="ykey">YAML 1.2</span><span class="ysep">:</span> 604 - <a href="/spec/1.2.2/">Revision 1.2.2</a> <span class="ycom"># Oct 1, 2021 <a href="https://yaml.com/blog/2021-10/new-yaml-spec/" target="_blank">(About this version)</a></span> 605 - <a href="/spec/1.2.1/">Revision 1.2.1</a> <span class="ycom"># Oct 1, 2009</span> 606 - <a href="/spec/1.2.0/">Revision 1.2.0</a> <span class="ycom"># Jul 21, 2009</span> 607- <a href="/spec/1.1">YAML 1.1</a> <span class="ycom"># Jan 18, 2005</span> 608- <a href="/spec/1.0">YAML 1.0</a> <span class="ycom"># Jan 29, 2004</span> 609 610<span class="ykey">YAML Web Sites</span><span class="ysep">:</span> 611 <span class="ykey">YAML Information</span><span class="ysep">:</span> <a href="https://yaml.info/" target="_blank">yaml.info</a>
611 <span class="ycom"># Learn about YAML!</span> 612 <span class="ykey">YAML Playground</span><span class="ysep">:</span> <a href="https://play.yaml.com/" target="_blank">play.yaml.com</a> <span class="ycom"># Try many YAMLs!</span> 613 <span class="ykey">Schema your YAML</span><span class="ysep">:</span> <a href="https://yamlschema.org/" target="_blank">yamlschema.org</a> <span class="ycom"># Define more with less!</span> 614 <span class="ykey">Program in YAML</span><span class="ysep">:</span> <a href="https://yamlscript.org/" target="_blank">yamlscript.org</a> <span class="ycom"># Code is Data!</span> 615 <span class="ykey">YAML Test Matrix</span><span class="ysep">:</span> <a href="https://matrix.yaml.info/" target="_blank">matrix.yaml.info</a> <span class="ycom"># Compare YAMLs!</span> 616 <span class="ykey">The YAML Company</span><span class="ysep">:</span> <a href="https://yaml.com/" target="_blank">yaml.com</a> <span class="ycom"># We Support YAML!</span> 617 618<span class="ykey">YAML Matrix Chat</span><span class="ysep">:</span> '<a href="https://matrix.to/#/#chat:yaml.io" target="_blank">#chat:yaml.io</a>' 619<span class="ykey">YAML IRC Channel</span><span class="ysep">:</span> <a href="https://web.libera.chat/?channels#yaml" target="_blank">libera.chat#yaml</a> 620<!-- span class="ykey">YAML News</span><span class="ysep">:</span> <a href="https://twitter.com/yamlnews" target="_blank">twitter.com/yamlnews</a> 621<span class="ykey">YAML Mailing List</span><span class="ysep">:</span> <a href="https://lists.sourceforge.net/lists/listinfo/yaml-core" target="_blank">yaml-core</a> <span class="ycom"># Obsolete, but historical</span --> 622 623<span class="ykey">YAML on GitHub</span><span class="ysep">:</span> <span class="ycom">#</span> <a href="https://github.com/yaml/" target="_blank">github.com/yaml/</a> 624 <span class="ykey">YAML Specs</span><span class="ysep">:</span> <a href="https://github.com/yaml/yaml-spec" target="_blank">yaml-spec/</a> 625 <span class="ykey">YAML 1.2 Grammar</span><span class="ysep">:</span> <a href="https://github.com/yaml/yaml-grammar" target="_blank">yaml-grammar/</a> 626 <span class="ykey">YAML Test Suite</span><span class="ysep">:</span> <a href="https://github.com/yaml/yaml-test-suite" target="_blank" name="yts">yaml-test-suite/</a> 627<span class="ydoc">...</span> 628</pre> 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 </article> 650 </div> 651 652
653<script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script>
653 654 </div> 655 656 <button type="button" class="md-top md-icon" data-md-component="top" hidden> 657 658 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8z"/></svg> 659 Back to top 660</button> 661 662 </main> 663 664 <footer class="md-footer"> 665 666 <div class="md-footer-meta md-typeset"> 667 <div class="md-footer-meta__inner md-grid"> 668 <div class="md-copyright"> 669 670 <div class="md-copyright__highlight"> 671 Copyright © 2001-2026 YAML 672 </div> 673 674 675 Made with 676 <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener"> 677 Material for MkDocs 678 </a> 679 680</div> 681 682 </div> 683 </div> 684</footer> 685 686 </div> 687 <div class="md-dialog" data-md-component="dialog"> 688 <div class="md-dialog__inner md-typeset"></div> 689 </div> 690 691 692 693 694
694<script id="__config" type="application/json">{"base": ".", "features": ["navigation.tabs", "navigation.sections", "navigation.expand", "navigation.top", "search.highlight", "search.share", "content.code.copy", "content.code.annotate"], "search": "assets/javascripts/workers/search.d50fe291.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": null}</script>
694 695 696 697
697<script src="assets/javascripts/bundle.50899def.min.js"></script>
697 698 699
699<script src="js/mathjax.js"></script>
699 700 701
701<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?version=4.8.0&features=es6"></script>
701 702 703
703<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
703 704 705 706 </body> 707</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.