"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4420],{35434:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(24246);n(27378);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function c(e){return(0,r.jsx)("svg",i(function(e){for(var t=1;t{n.d(t,{Z:()=>se});var r=n(24246),o=n(27378);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function s(e){const{mdxAdmonitionTitle:t,rest:n}=function(e){const t=o.Children.toArray(e),n=t.find((e=>o.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),i=t.filter((e=>e!==n));return{mdxAdmonitionTitle:null==n?void 0:n.props.children,rest:i.length>0?(0,r.jsx)(r.Fragment,{children:i}):null}}(e.children);var s;const l=null!==(s=e.title)&&void 0!==s?s:t;return c(function(e){for(var t=1;t(0,r.jsx)(w,G({title:"secondary"},e)),important:e=>(0,r.jsx)(M,G({title:"important"},e)),success:e=>(0,r.jsx)(Z,G({title:"success"},e)),caution:function(e){return(0,r.jsx)(O,X(function(e){for(var t=1;t{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>d,frontMatter:()=>s,metadata:()=>a,toc:()=>p});var r=n(24246),o=n(71670),i=n(77773),c=n(35434);const s={},l="Admonitions tests",a={id:"tests/admonitions",title:"Admonitions tests",description:"Empty content",source:"@site/_dogfooding/_docs tests/tests/admonitions.mdx",sourceDirName:"tests",slug:"/tests/admonitions",permalink:"/tests/docs/tests/admonitions",draft:!1,unlisted:!1,tags:[],version:"current",lastUpdatedBy:"Tatsunori Uchino",lastUpdatedAt:1718970228e3,frontMatter:{},sidebar:"sidebar",previous:{title:"Case-Sensitive doc",permalink:"/tests/docs/tests/Case-Sentitive-Doc"},next:{title:"\xe6\xf8\xe5",permalink:"/tests/docs/tests/ascii/folder/\xe6\xf8\xe5"}},u={},p=[{value:"Empty content",id:"empty-content",level:2},{value:"Empty fragment content",id:"empty-fragment-content",level:2},{value:"Large font icon",id:"large-font-icon",level:2},{value:"Large svg icon",id:"large-svg-icon",level:2},{value:"Indented admonitions",id:"indented-admonitions",level:2},{value:"Quoted admonitions",id:"quoted-admonitions",level:2},{value:"Official admonitions",id:"official-admonitions",level:2},{value:"Legacy admonitions",id:"legacy-admonitions",level:2}];function f(e){const t={a:"a",admonition:"admonition",blockquote:"blockquote",h1:"h1",h2:"h2",li:"li",ol:"ol",p:"p",span:"span",strong:"strong",ul:"ul",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"admonitions-tests",children:"Admonitions tests"}),"\n",(0,r.jsx)(t.h2,{id:"empty-content",children:"Empty content"}),"\n",(0,r.jsx)(t.admonition,{title:"Title Only",type:"note"}),"\n",(0,r.jsx)(t.h2,{id:"empty-fragment-content",children:"Empty fragment content"}),"\n",(0,r.jsx)(t.admonition,{title:"Title Only",type:"note",children:(0,r.jsx)(r.Fragment,{})}),"\n",(0,r.jsx)(t.h2,{id:"large-font-icon",children:"Large font icon"}),"\n","\n",(0,r.jsx)(i.Z,{type:"tip",icon:(0,r.jsx)(t.span,{style:{fontSize:60},children:"\ud83d\udca1"}),title:"Did you know...",children:(0,r.jsx)(t.p,{children:"content"})}),"\n",(0,r.jsx)(i.Z,{type:"info",icon:(0,r.jsx)(t.span,{style:{fontSize:40},children:"\u2139\ufe0f"}),title:"Did you know...",children:(0,r.jsx)(t.p,{children:"content"})}),"\n",(0,r.jsx)(t.h2,{id:"large-svg-icon",children:"Large svg icon"}),"\n","\n",(0,r.jsx)(i.Z,{type:"tip",icon:(0,r.jsx)(c.Z,{style:{width:60,height:60}}),title:"Did you know...",children:(0,r.jsx)(t.p,{children:"content"})}),"\n",(0,r.jsx)(i.Z,{type:"info",icon:(0,r.jsx)(c.Z,{style:{width:40,height:40}}),title:"Did you know...",children:(0,r.jsx)(t.p,{children:"content"})}),"\n",(0,r.jsx)(t.h2,{id:"indented-admonitions",children:"Indented admonitions"}),"\n",(0,r.jsxs)(t.p,{children:["See admonition title v2 compat syntax bug: ",(0,r.jsx)(t.a,{href:"https://github.com/facebook/docusaurus/issues/9507",children:"https://github.com/facebook/docusaurus/issues/9507"})]}),"\n",(0,r.jsxs)(t.ol,{children:["\n",(0,r.jsxs)(t.li,{children:["\n",(0,r.jsx)(t.p,{children:"Item 1"}),"\n",(0,r.jsx)(t.admonition,{title:"Important Considerations",type:"info",children:(0,r.jsx)(t.p,{children:"For better experience, try to keep the upgrade experience smooth."})}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:["\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.strong,{children:"Scale-up cluster"})}),"\n",(0,r.jsx)(t.admonition,{title:"Warning",type:"caution",children:(0,r.jsx)(t.p,{children:"Scaling up a cluster may cause several minutes of downtime. Please exercise caution."})}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"quoted-admonitions",children:"Quoted admonitions"}),"\n",(0,r.jsxs)(t.blockquote,{children:["\n",(0,r.jsx)(t.admonition,{title:"There be dragons",type:"caution",children:(0,r.jsx)(t.p,{children:"This is the admonition content"})}),"\n",(0,r.jsxs)(t.blockquote,{children:["\n",(0,r.jsx)(t.admonition,{title:"There be dragons",type:"caution",children:(0,r.jsx)(t.p,{children:"This is the admonition content"})}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"official-admonitions",children:"Official admonitions"}),"\n",(0,r.jsxs)(t.p,{children:["Admonitions that are ",(0,r.jsx)(t.a,{href:"/docs/markdown-features/admonitions",children:"officially documented"})]}),"\n",(0,r.jsx)(t.admonition,{type:"note",children:(0,r.jsx)(t.p,{children:"note"})}),"\n",(0,r.jsx)(t.admonition,{type:"info",children:(0,r.jsx)(t.p,{children:"info"})}),"\n",(0,r.jsx)(t.admonition,{type:"tip",children:(0,r.jsx)(t.p,{children:"tip"})}),"\n",(0,r.jsx)(t.admonition,{type:"warning",children:(0,r.jsx)(t.p,{children:"warning"})}),"\n",(0,r.jsx)(t.admonition,{type:"danger",children:(0,r.jsx)(t.p,{children:"danger"})}),"\n",(0,r.jsx)(t.h2,{id:"legacy-admonitions",children:"Legacy admonitions"}),"\n",(0,r.jsx)(t.admonition,{type:"secondary",children:(0,r.jsx)(t.p,{children:"secondary"})}),"\n",(0,r.jsx)(t.admonition,{type:"important",children:(0,r.jsx)(t.p,{children:"important"})}),"\n",(0,r.jsx)(t.admonition,{type:"success",children:(0,r.jsx)(t.p,{children:"success"})}),"\n",(0,r.jsx)(t.admonition,{type:"caution",children:(0,r.jsx)(t.p,{children:"caution"})})]})}function d(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(f,{...e})}):f(e)}},71670:(e,t,n)=>{n.d(t,{Z:()=>s,a:()=>c});var r=n(27378);const o={},i=r.createContext(o);function c(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),r.createElement(i.Provider,{value:t},e.children)}}}]);