From bd0cab1f2d198681dd9eb6b2ccf2beeca43ce5e3 Mon Sep 17 00:00:00 2001 From: 安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com> Date: Mon, 29 Jan 2024 09:30:32 +0900 Subject: build --- build/assets/js/0b4c6bfa.84b58fd4.js | 1 - build/assets/js/0b4c6bfa.baff817d.js | 1 + build/assets/js/18ce1c6a.5dfa1dc1.js | 1 + build/assets/js/18ce1c6a.f6702073.js | 1 - build/assets/js/e14e76e6.2f850287.js | 1 + build/assets/js/e14e76e6.8bef8ca0.js | 1 - build/assets/js/runtime~main.0567ce8c.js | 1 - build/assets/js/runtime~main.0f7115d6.js | 1 + 8 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 build/assets/js/0b4c6bfa.84b58fd4.js create mode 100644 build/assets/js/0b4c6bfa.baff817d.js create mode 100644 build/assets/js/18ce1c6a.5dfa1dc1.js delete mode 100644 build/assets/js/18ce1c6a.f6702073.js create mode 100644 build/assets/js/e14e76e6.2f850287.js delete mode 100644 build/assets/js/e14e76e6.8bef8ca0.js delete mode 100644 build/assets/js/runtime~main.0567ce8c.js create mode 100644 build/assets/js/runtime~main.0f7115d6.js (limited to 'build/assets') diff --git a/build/assets/js/0b4c6bfa.84b58fd4.js b/build/assets/js/0b4c6bfa.84b58fd4.js deleted file mode 100644 index 1328da58..00000000 --- a/build/assets/js/0b4c6bfa.84b58fd4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[7768],{27943:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>i,contentTitle:()=>u,default:()=>l,frontMatter:()=>a,metadata:()=>r,toc:()=>c});var s=o(85893),n=o(11151);const a={title:"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5",description:"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002",authors:"yohei",tags:["\u6280\u8853","docusaurus","v3.1"],hide_table_of_contents:!1},u=void 0,r={permalink:"/docs/blog/2024/01/27/docusaurus-admonition-heading-toc",source:"@site/blog/2024/01/27/docusaurus-admonition-heading-toc/index.mdx",title:"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5",description:"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002",date:"2024-01-27T00:00:00.000Z",formattedDate:"2024\u5e741\u670827\u65e5",tags:[{label:"\u6280\u8853",permalink:"/docs/blog/tags/\u6280\u8853"},{label:"docusaurus",permalink:"/docs/blog/tags/docusaurus"},{label:"v3.1",permalink:"/docs/blog/tags/v-3-1"}],readingTime:16.795,hasTruncateMarker:!0,authors:[{name:"\u5b89\u7af9 \u6d0b\u5e73",title:"\u6771\u4eac\u90fd\u5c0f\u5e73\u5e02\u8b70\u4f1a\u8b70\u54e1",url:"https://yasutakeyohei.com",email:"yohei@yasutakeyohei.com",imageURL:"https://cgit.yasutakeyohei.com/yohei.jpg",key:"yohei"}],frontMatter:{title:"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5",description:"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002",authors:"yohei",tags:["\u6280\u8853","docusaurus","v3.1"],hide_table_of_contents:!1},unlisted:!1,nextItem:{title:"\u65b0\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u7acb\u3061\u4e0a\u3052\u307e\u3057\u305f",permalink:"/docs/blog/2024/01/26/new-flat-blog"}},i={authorsImageUrls:[void 0]},c=[{value:"Docusaurus\u306f\u30b9\u30b4\u30a4\u306d\ud83e\udd96",id:"docusaurus\u306f\u30b9\u30b4\u30a4\u306d",level:2}];function d(e){const t={a:"a",h2:"h2",p:"p",strong:"strong",...(0,n.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h2,{id:"docusaurus\u306f\u30b9\u30b4\u30a4\u306d",children:"Docusaurus\u306f\u30b9\u30b4\u30a4\u306d\ud83e\udd96"}),"\n",(0,s.jsxs)(t.p,{children:["1\u30f5\u6708\u5f31\u4f7f\u3044\u307e\u3057\u305f\u304c\u3001\u3053\u306e",(0,s.jsx)(t.a,{href:"https://docusaurus.io/",children:"Docusaurus"}),"\uff08\u30c9\u30ad\u30e5\u30b5\u30a6\u30eb\u30b9\uff09\u306f\u6570\u3042\u308bCMS\u306e\u4e2d\u3067\u3082\u79c0\u9038\u3067\u3059\u3002"]}),"\n",(0,s.jsx)(t.p,{children:"\u6587\u66f8\u4f5c\u6210\u3068\u7ba1\u7406\u304c\u5bb9\u6613\u3067\u3001\u62e1\u5f35\u306e\u81ea\u7531\u5ea6\u3082\u975e\u5e38\u306b\u9ad8\u304f\u3001\u5b8c\u5168\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3002"}),"\n",(0,s.jsxs)(t.p,{children:["\u8b70\u54e1\u6d3b\u52d5\u306b\u91cd\u8981\u306a\u300c",(0,s.jsx)(t.strong,{children:"\u8cc7\u6599\u3092\u4f5c\u6210\u3057\u307e\u3068\u3081\u3066\u516c\u958b\u3059\u308b\u30c4\u30fc\u30eb"}),"\u300d\u3068\u3057\u3066\u73fe\u72b6\u306e\u6700\u9069\u89e3\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002"]})]})}function l(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},11151:(e,t,o)=>{o.d(t,{Z:()=>r,a:()=>u});var s=o(67294);const n={},a=s.createContext(n);function u(e){const t=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:u(e.components),s.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/build/assets/js/0b4c6bfa.baff817d.js b/build/assets/js/0b4c6bfa.baff817d.js new file mode 100644 index 00000000..4698ad59 --- /dev/null +++ b/build/assets/js/0b4c6bfa.baff817d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[7768],{27943:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>i,contentTitle:()=>u,default:()=>l,frontMatter:()=>a,metadata:()=>r,toc:()=>c});var s=o(85893),n=o(11151);const a={title:"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5",description:"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002",authors:"yohei",tags:["\u6280\u8853","docusaurus","v3.1"],hide_table_of_contents:!1},u=void 0,r={permalink:"/docs/blog/2024/01/27/docusaurus-admonition-heading-toc",source:"@site/blog/2024/01/27/docusaurus-admonition-heading-toc/index.mdx",title:"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5",description:"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002",date:"2024-01-27T00:00:00.000Z",formattedDate:"2024\u5e741\u670827\u65e5",tags:[{label:"\u6280\u8853",permalink:"/docs/blog/tags/\u6280\u8853"},{label:"docusaurus",permalink:"/docs/blog/tags/docusaurus"},{label:"v3.1",permalink:"/docs/blog/tags/v-3-1"}],readingTime:16.75,hasTruncateMarker:!0,authors:[{name:"\u5b89\u7af9 \u6d0b\u5e73",title:"\u6771\u4eac\u90fd\u5c0f\u5e73\u5e02\u8b70\u4f1a\u8b70\u54e1",url:"https://yasutakeyohei.com",email:"yohei@yasutakeyohei.com",imageURL:"https://cgit.yasutakeyohei.com/yohei.jpg",key:"yohei"}],frontMatter:{title:"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5",description:"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002",authors:"yohei",tags:["\u6280\u8853","docusaurus","v3.1"],hide_table_of_contents:!1},unlisted:!1,nextItem:{title:"\u65b0\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u7acb\u3061\u4e0a\u3052\u307e\u3057\u305f",permalink:"/docs/blog/2024/01/26/new-flat-blog"}},i={authorsImageUrls:[void 0]},c=[{value:"Docusaurus\ud83e\udd96",id:"docusaurus",level:2}];function d(e){const t={a:"a",h2:"h2",p:"p",strong:"strong",...(0,n.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h2,{id:"docusaurus",children:"Docusaurus\ud83e\udd96"}),"\n",(0,s.jsxs)(t.p,{children:["1\u30f5\u6708\u5f31\u4f7f\u3044\u307e\u3057\u305f\u304c\u3053\u306e",(0,s.jsx)(t.a,{href:"https://docusaurus.io/",children:"Docusaurus"}),"\uff08\u30c9\u30ad\u30e5\u30b5\u30a6\u30eb\u30b9\uff09\u306f\u6570\u3042\u308bCMS\u306e\u4e2d\u3067\u3082\u79c0\u9038\u3067\u3059\u3002"]}),"\n",(0,s.jsx)(t.p,{children:"\u6587\u66f8\u4f5c\u6210\u3068\u7ba1\u7406\u304c\u5bb9\u6613\u3067\u3001\u62e1\u5f35\u306e\u81ea\u7531\u5ea6\u3082\u975e\u5e38\u306b\u9ad8\u304f\u3001\u5b8c\u5168\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3002"}),"\n",(0,s.jsxs)(t.p,{children:["\u8b70\u54e1\u6d3b\u52d5\u306b\u91cd\u8981\u306a\u300c",(0,s.jsx)(t.strong,{children:"\u8cc7\u6599\u3092\u4f5c\u6210\u3057\u307e\u3068\u3081\u3066\u516c\u958b\u3059\u308b\u30c4\u30fc\u30eb"}),"\u300d\u3068\u3057\u3066\u73fe\u72b6\u306e\u6700\u9069\u89e3\u3068\u611f\u3058\u307e\u3059\u3002"]})]})}function l(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},11151:(e,t,o)=>{o.d(t,{Z:()=>r,a:()=>u});var s=o(67294);const n={},a=s.createContext(n);function u(e){const t=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:u(e.components),s.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/build/assets/js/18ce1c6a.5dfa1dc1.js b/build/assets/js/18ce1c6a.5dfa1dc1.js new file mode 100644 index 00000000..efe6ad97 --- /dev/null +++ b/build/assets/js/18ce1c6a.5dfa1dc1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[7446],{98485:(n,e,i)=>{i.r(e),i.d(e,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>s,metadata:()=>d,toc:()=>a});var r=i(85893),t=i(11151);const s={title:"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5",description:"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002",authors:"yohei",tags:["\u6280\u8853","docusaurus","v3.1"],hide_table_of_contents:!1},o=void 0,d={permalink:"/docs/blog/2024/01/27/docusaurus-admonition-heading-toc",source:"@site/blog/2024/01/27/docusaurus-admonition-heading-toc/index.mdx",title:"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5",description:"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002",date:"2024-01-27T00:00:00.000Z",formattedDate:"2024\u5e741\u670827\u65e5",tags:[{label:"\u6280\u8853",permalink:"/docs/blog/tags/\u6280\u8853"},{label:"docusaurus",permalink:"/docs/blog/tags/docusaurus"},{label:"v3.1",permalink:"/docs/blog/tags/v-3-1"}],readingTime:16.75,hasTruncateMarker:!0,authors:[{name:"\u5b89\u7af9 \u6d0b\u5e73",title:"\u6771\u4eac\u90fd\u5c0f\u5e73\u5e02\u8b70\u4f1a\u8b70\u54e1",url:"https://yasutakeyohei.com",email:"yohei@yasutakeyohei.com",imageURL:"https://cgit.yasutakeyohei.com/yohei.jpg",key:"yohei"}],frontMatter:{title:"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5",description:"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002",authors:"yohei",tags:["\u6280\u8853","docusaurus","v3.1"],hide_table_of_contents:!1},unlisted:!1,nextItem:{title:"\u65b0\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u7acb\u3061\u4e0a\u3052\u307e\u3057\u305f",permalink:"/docs/blog/2024/01/26/new-flat-blog"}},l={authorsImageUrls:[void 0]},a=[{value:"Docusaurus\ud83e\udd96",id:"docusaurus",level:2},{value:"Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u304c\u898b\u51fa\u3057\u306b\u306a\u3089\u306a\u3044",id:"admonition\u306e\u30bf\u30a4\u30c8\u30eb\u304c\u898b\u51fa\u3057\u306b\u306a\u3089\u306a\u3044",level:2},{value:"\u30c6\u30b9\u30c8",id:"\u30c6\u30b9\u30c8",level:4},{value:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5f8c\u306f\u3069\u3046\u306a\u308b\u304b",id:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5f8c\u306f\u3069\u3046\u306a\u308b\u304b",level:2},{value:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b#\u3092\u5165\u308c\u305f\u5834\u5408",id:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b\u3092\u5165\u308c\u305f\u5834\u5408",level:3},{value:"\u898b\u51fa\u3057\u306b\u306a\u308aTOC\u306b\u53cd\u6620\u3055\u308c\u308b\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",id:"\u898b\u51fa\u3057\u306b\u306a\u308atoc\u306b\u53cd\u6620\u3055\u308c\u308b\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",level:4},{value:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b#\u3092\u5165\u308c\u306a\u3044\u5834\u5408",id:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b\u3092\u5165\u308c\u306a\u3044\u5834\u5408",level:3},{value:"\u898b\u51fa\u3057\u306b\u306a\u3089\u305aTOC\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",id:"\u898b\u51fa\u3057\u306b\u306a\u3089\u305atoc\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",level:4},{value:"\u30bf\u30a4\u30c8\u30eb\u306bHTML\u3092\u5165\u308c\u308b\u3053\u3068\u3082\u53ef\u80fd",id:"\u30bf\u30a4\u30c8\u30eb\u306bhtml\u3092\u5165\u308c\u308b\u3053\u3068\u3082\u53ef\u80fd",level:3},{value:"\u30c6\u30b9\u30c8123\u30c6\u30b9\u30c8\u4e0b\u7dda",id:"\u30c6\u30b9\u30c8123\u30c6\u30b9\u30c8\u4e0b\u7dda",level:4},{value:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u5229\u7528\u3057\u305f\u6a5f\u80fd",id:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u5229\u7528\u3057\u305f\u6a5f\u80fd",level:2},{value:"Remark\u3068Rehype\u306b\u3064\u3044\u3066",id:"remark\u3068rehype\u306b\u3064\u3044\u3066",level:3},{value:"Docusaurus\u306b\u304a\u3051\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0",id:"docusaurus\u306b\u304a\u3051\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0",level:4},{value:"Swizzling\u306b\u3064\u3044\u3066",id:"swizzling\u306b\u3064\u3044\u3066",level:3},{value:"\u52d5\u4f5c\u539f\u7406",id:"\u52d5\u4f5c\u539f\u7406",level:2},{value:"\u5b9f\u88c5",id:"\u5b9f\u88c5",level:2},{value:"docusaurus.config.json",id:"docusaurusconfigjson",level:3},{value:"Remark/Rehype\u30d7\u30e9\u30b0\u30a4\u30f3",id:"remarkrehype\u30d7\u30e9\u30b0\u30a4\u30f3",level:3},{value:"Swizzling",id:"swizzling",level:3},{value:"Ejecting",id:"ejecting",level:4},{value:"\u30b3\u30fc\u30c9\u306e\u5909\u66f4",id:"\u30b3\u30fc\u30c9\u306e\u5909\u66f4",level:4}];function c(n){const e={a:"a",admonition:"admonition",br:"br",code:"code",h2:"h2",h3:"h3",h4:"h4",img:"img",li:"li",mdxAdmonitionTitle:"mdxAdmonitionTitle",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,t.a)(),...n.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e.h2,{id:"docusaurus",children:"Docusaurus\ud83e\udd96"}),"\n",(0,r.jsxs)(e.p,{children:["1\u30f5\u6708\u5f31\u4f7f\u3044\u307e\u3057\u305f\u304c\u3053\u306e",(0,r.jsx)(e.a,{href:"https://docusaurus.io/",children:"Docusaurus"}),"\uff08\u30c9\u30ad\u30e5\u30b5\u30a6\u30eb\u30b9\uff09\u306f\u6570\u3042\u308bCMS\u306e\u4e2d\u3067\u3082\u79c0\u9038\u3067\u3059\u3002"]}),"\n",(0,r.jsx)(e.p,{children:"\u6587\u66f8\u4f5c\u6210\u3068\u7ba1\u7406\u304c\u5bb9\u6613\u3067\u3001\u62e1\u5f35\u306e\u81ea\u7531\u5ea6\u3082\u975e\u5e38\u306b\u9ad8\u304f\u3001\u5b8c\u5168\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3002"}),"\n",(0,r.jsxs)(e.p,{children:["\u8b70\u54e1\u6d3b\u52d5\u306b\u91cd\u8981\u306a\u300c",(0,r.jsx)(e.strong,{children:"\u8cc7\u6599\u3092\u4f5c\u6210\u3057\u307e\u3068\u3081\u3066\u516c\u958b\u3059\u308b\u30c4\u30fc\u30eb"}),"\u300d\u3068\u3057\u3066\u73fe\u72b6\u306e\u6700\u9069\u89e3\u3068\u611f\u3058\u307e\u3059\u3002"]}),"\n","\n",(0,r.jsxs)(e.p,{children:["facebook\u304c\u6bcd\u4f53\u306a\u306e\u3067\u8272\u3005\u3068\u6c17\u306b\u306a\u308b\u3068\u3053\u308d\u3067\u3059\u304c\u3001",(0,r.jsx)(e.a,{href:"https://ja.legacy.reactjs.org/",children:"React"}),"\u3092\u521d\u3081\u3068\u3057\u3066\u6709\u76ca\u306a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u5b8c\u5168\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3068\u3057\u3066\u63d0\u4f9b\u3057\u3066\u304f\u308c\u3066\u3044\u308b\u3053\u3068\u306f\u7d14\u7c8b\u306b\u3042\u308a\u304c\u305f\u3044\u3068\u611f\u3058\u307e\u3059\u3002"]}),"\n",(0,r.jsx)(e.h2,{id:"admonition\u306e\u30bf\u30a4\u30c8\u30eb\u304c\u898b\u51fa\u3057\u306b\u306a\u3089\u306a\u3044",children:"Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u304c\u898b\u51fa\u3057\u306b\u306a\u3089\u306a\u3044"}),"\n",(0,r.jsxs)(e.p,{children:["\u3055\u3066Docusaurus\u306b\u306f",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/markdown-features/admonitions",children:"Admonition"}),"\uff08\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff09\u3092\u5bb9\u6613\u306bmarkdown\u3067\u66f8\u304f\u65b9\u6cd5\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002"]}),"\n",(0,r.jsx)(e.p,{children:"\u4f8b\u3048\u3070info\u306a\u3089\u3001\u6b21\u306e\u3088\u3046\u306bmarkdown\u3067\u66f8\u3051\u3070\u3001"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-mdx",metastring:'title="Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09"',children:":::info[info\u306e\u4f8b]\r\n\r\n\u3053\u3053\u306b\u6587\u7ae0\u3092\u66f8\u304f\r\n\r\n:::\n"})}),"\n",(0,r.jsx)(e.p,{children:"\u6b21\u306e\u3088\u3046\u306bHTML\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.admonition,{title:"info\u306e\u4f8b",type:"info",children:(0,r.jsx)(e.p,{children:"\u3053\u3053\u306b\u6587\u7ae0\u3092\u66f8\u304f"})}),"\n",(0,r.jsxs)(e.p,{children:["\u3057\u304b\u3057\uff08DocusaurusV3.1\uff09\u3067\u3053\u306eAdmonition\u306e\u30bf\u30a4\u30c8\u30eb\u306f\u898b\u51fa\u3057\uff08",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/markdown-features/toc",children:"Heading"}),"\uff09\u306b\u306a\u3089\u305a\u3001\u76ee\u6b21\uff08",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/markdown-features/toc",children:"TOC"}),"\uff09\u306b\u3082\u4e57\u308a\u307e\u305b\u3093\u3002\u4e0a\u8a18\u4f8b\u306a\u3089\u300cINFO\u306e\u4f8b\u300d\u304cTOC\u306b\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002"]}),"\n",(0,r.jsx)(e.p,{children:"\u6b21\u306e\u56f3\u304b\u3089\u3082\u5206\u304b\u3063\u3066\u3044\u305f\u3060\u3051\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.p,{children:(0,r.jsx)(e.img,{alt:"Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u304c\u898b\u51fa\u3057\u306b\u306a\u3089\u306a\u3044",src:i(73660).Z+"",width:"903",height:"820"})}),"\n",(0,r.jsx)(e.p,{children:"\u4e9b\u7d30\u306a\u3053\u3068\u306e\u3088\u3046\u306b\u3082\u601d\u3048\u307e\u3059\u304c\u3001Docusaurus\u3092\u66f8\u7c4d\u306e\u3088\u3046\u306b\u6271\u3046\u306b\u306f\u7d50\u69cb\u6c17\u306b\u306a\u308b\u3068\u3053\u308d\u3002"}),"\n",(0,r.jsxs)(e.p,{children:["\u306a\u304a",(0,r.jsx)(e.a,{href:"https://github.com/elviswolcott/remark-admonitions/issues/26",children:"\u4ee5\u524d\u306fAdmonition\u306e\u30bf\u30a4\u30c8\u30eb\u306fH5\u8981\u7d20\u306b\u306a\u3063\u3066\u3044\u305f"}),"\u3088\u3046\u3067\u3059\u304c\u3001\u6df1\u3055\uff08H1\uff5eH5\u306e\u30ec\u30d9\u30eb\uff09\u3092\u6c7a\u3081\u6253\u3061\u3059\u308b\u306e\u306f\u597d\u307e\u3057\u304f\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u304b\u3089\uff08\uff1f\uff09\u3001\u4eca\u306fH5\u8981\u7d20\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002"]}),"\n",(0,r.jsx)(e.p,{children:"\u6b21\u306e\u3088\u3046\u306b\u672c\u6587\u4e2d\u306b\u898b\u51fa\u3057\u3092\u66f8\u304f\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u304c"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-mdx",metastring:'title="Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09"',children:":::info\r\n\r\n#### \u30c6\u30b9\u30c8\r\n\r\n\uff5e\u6587\u7ae0\uff5e\r\n\r\n:::\n"})}),"\n",(0,r.jsx)(e.p,{children:"\u898b\u305f\u76ee\u304c\u30a4\u30de\u30a4\u30c1\u306b\u306a\u308a\u307e\u3059\u3002"}),"\n",(0,r.jsxs)(e.admonition,{type:"info",children:[(0,r.jsx)(e.h4,{id:"\u30c6\u30b9\u30c8",children:"\u30c6\u30b9\u30c8"}),(0,r.jsx)(e.p,{children:"\uff5e\u6587\u7ae0\uff5e"})]}),"\n",(0,r.jsxs)(e.p,{children:[(0,r.jsx)(e.a,{href:"https://github.com/facebook/docusaurus/discussions/7146",children:"\u307b\u304b\u306e\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306e\u8981\u671b"}),"\u3082\u4e0a\u304c\u3063\u3066\u304a\u308a\u3001\u79c1\u3082\u5c11\u3057\u4e0d\u4fbf\u306b\u611f\u3058\u3066\u3044\u305f\u306e\u3067\u3001\u6b21\u306e\u4ed5\u69d8\u306b\u306a\u308b\u3088\u3046\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u307e\u3057\u305f\u306e\u3067\u305d\u306e\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002"]}),"\n",(0,r.jsx)(e.h2,{id:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5f8c\u306f\u3069\u3046\u306a\u308b\u304b",children:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5f8c\u306f\u3069\u3046\u306a\u308b\u304b"}),"\n",(0,r.jsxs)(e.p,{children:["\u5f8c\u8ff0\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u3059\u308b\u3068\u3001Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u90e8\u306b\uff08\u901a\u5e38\u306e\u898b\u51fa\u3057markdown\u3068\u540c\u69d8\u306b\uff09",(0,r.jsx)(e.strong,{children:"#\u3092\u5192\u982d\u306b2\u500b\u4ee5\u4e0a\u5165\u308c\u308b"})," \u3053\u3068\u3067\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305fTOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002#\u30922\u500b\u4ee5\u4e0a\u3068\u3057\u3066\u3044\u308b\u306e\u306f\u3001H1\u3092Admonition\u306b\u306f\u4f7f\u308f\u306a\u3044\u306f\u305a\u306e\u305f\u3081\u3002\u307e\u305f#\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u306f\u898b\u51fa\u3057\u306b\u306a\u3089\u305a\u3001TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\u3002"]}),"\n",(0,r.jsx)(e.h3,{id:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b\u3092\u5165\u308c\u305f\u5834\u5408",children:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b#\u3092\u5165\u308c\u305f\u5834\u5408"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-mdx",metastring:'title="Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09"',children:":::info[#### \u898b\u51fa\u3057\u306b\u306a\u308aTOC\u306b\u53cd\u6620\u3055\u308c\u308b\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b]\r\n\r\n#\u304c4\u3064\u5206\u306e\u305f\u3081H4\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u3059\u3002TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002\r\n\r\n:::\n"})}),"\n",(0,r.jsx)(e.p,{children:"\u2193"}),"\n","\n",(0,r.jsx)(e.admonition,{title:"#### \u898b\u51fa\u3057\u306b\u306a\u308aTOC\u306b\u53cd\u6620\u3055\u308c\u308b\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",type:"info",id:"\u898b\u51fa\u3057\u306b\u306a\u308atoc\u306b\u53cd\u6620\u3055\u308c\u308b\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",children:(0,r.jsx)(e.p,{children:"#\u304c4\u3064\u5206\u306e\u305f\u3081H4\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u3059\u3002TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002"})}),"\n",(0,r.jsxs)(e.p,{children:["\u3053\u306e\u30d6\u30ed\u30b0\u3067\u3082TOC\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002",(0,r.jsx)(e.br,{}),"\n","\u306a\u304a\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u3092\u4e57\u305b\u305f\u969b\u306b\u30cf\u30c3\u30b7\u30e5\u30ea\u30f3\u30af\uff08#\uff09\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306fCSS\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002"]}),"\n",(0,r.jsx)(e.h3,{id:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b\u3092\u5165\u308c\u306a\u3044\u5834\u5408",children:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b#\u3092\u5165\u308c\u306a\u3044\u5834\u5408"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-mdx",metastring:'title="Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09"',children:":::info[\u898b\u51fa\u3057\u306b\u306a\u3089\u305aTOC\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b]\r\n\r\n#\u304c\u306a\u3044\u305f\u3081\u898b\u51fa\u3057\u306b\u306a\u3089\u305a\u3001TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\u3002\r\n\r\n:::\n"})}),"\n",(0,r.jsx)(e.p,{children:"\u2193"}),"\n","\n",(0,r.jsx)(e.admonition,{title:"#### \u898b\u51fa\u3057\u306b\u306a\u3089\u305aTOC\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",type:"info",id:"\u898b\u51fa\u3057\u306b\u306a\u3089\u305atoc\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",children:(0,r.jsx)(e.p,{children:"#\u304c\u306a\u3044\u305f\u3081\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u305b\u3093\u3002"})}),"\n",(0,r.jsx)(e.h3,{id:"\u30bf\u30a4\u30c8\u30eb\u306bhtml\u3092\u5165\u308c\u308b\u3053\u3068\u3082\u53ef\u80fd",children:"\u30bf\u30a4\u30c8\u30eb\u306bHTML\u3092\u5165\u308c\u308b\u3053\u3068\u3082\u53ef\u80fd"}),"\n",(0,r.jsx)(e.p,{children:"\u306a\u304a\u30bf\u30a4\u30c8\u30eb\u90e8\u306bHTML\u3092\u5165\u308c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002"}),"\n","\n",(0,r.jsxs)(e.admonition,{type:"info",id:"\u30c6\u30b9\u30c8123\u30c6\u30b9\u30c8\u4e0b\u7dda",children:[(0,r.jsxs)(e.mdxAdmonitionTitle,{children:["#### \u30c6\u30b9\u30c8",(0,r.jsx)("sup",{children:"123"}),"\u30c6\u30b9\u30c8",(0,r.jsx)("u",{children:"\u4e0b\u7dda"})]}),(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{children:"\r\n\u30bf\u30a4\u30c8\u30eb\u90e8\u306emarkdown\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002\r\n\r\n#### \u30c6\u30b9\u30c8123\u30c6\u30b9\u30c8\u4e0b\u7dda\r\n\n"})})]}),"\n",(0,r.jsx)(e.h2,{id:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u5229\u7528\u3057\u305f\u6a5f\u80fd",children:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u5229\u7528\u3057\u305f\u6a5f\u80fd"}),"\n",(0,r.jsx)(e.p,{children:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306f\u6b21\u306e\u6a5f\u80fd\u3092\u6d3b\u7528\u3057\u307e\u3057\u305f\u3002"}),"\n",(0,r.jsxs)(e.ul,{children:["\n",(0,r.jsx)(e.li,{children:(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/markdown-features/plugins",children:"Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3"})}),"\n",(0,r.jsx)(e.li,{children:(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/swizzling",children:"Swizzling"})}),"\n"]}),"\n",(0,r.jsx)(e.h3,{id:"remark\u3068rehype\u306b\u3064\u3044\u3066",children:"Remark\u3068Rehype\u306b\u3064\u3044\u3066"}),"\n",(0,r.jsxs)(e.p,{children:["Remark\u3068Rehype\u306f\u3001markdown\u3092HTML\u306b\u5909\u63db\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u306b\u304a\u3044\u3066\u3001AST\uff08\u62bd\u8c61\u69cb\u6587\u6728\u30fbAbstract Syntax Tree\uff09\u306b\u4f5c\u7528\u3059\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3059\u3002\u306a\u304a",(0,r.jsx)(e.a,{href:"https://github.com/unifiedjs/unified",children:"AST\u3092\u64cd\u4f5c\u3059\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0"}),"\u306e\u4e2d\u306b\u306f\u3082\u3046\u4e00\u3064",(0,r.jsx)(e.a,{href:"https://github.com/retextjs/retext",children:"Retext"}),"\u3068\u3044\u3046\u30d7\u30e9\u30b0\u30a4\u30f3\u3082\u3042\u308a\u307e\u3059\u304c\u3001Docusaurus\u306b\u306f\u5b9f\u88c5\u3055\u308c\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u3059\u3002"]}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-md",metastring:'title="markdown\u304b\u3089HTML\u3078\u5909\u63db\u51e6\u7406\u306e\u6d41\u308c"',children:"| ........................ process ........................... |\r\n| .......... parse ... | ... run ... | ... stringify ..........|\r\n\r\n +--------+ +----------+\r\nInput ->- | Parser | ->- Syntax Tree ->- | Compiler | ->- Output\r\n +--------+ | +----------+\r\n X\r\n |\r\n +--------------+\r\n | Transformers |\r\n +--------------+\n"})}),"\n",(0,r.jsxs)(e.p,{children:["\u4e0a\u56f3\uff08",(0,r.jsx)(e.a,{href:"https://github.com/unifiedjs/unified?tab=readme-ov-file#overview",children:"Unified Overview\u3088\u308a"}),"\uff09\u306bTransformers\u3068\u3042\u308b\u3068\u3053\u308d\u304cRemark/Rehype\u306e\u52d5\u4f5c\u3059\u308b\u3068\u3053\u308d\u3002"]}),"\n",(0,r.jsx)(e.p,{children:"Remark\u306fmarkdown\u5f62\u5f0f\u3067\u3001Rehype\u306fHTML\u5f62\u5f0f\u3067AST\u3092\u6271\u3044\u307e\u3059\u3002\u3069\u3061\u3089\u3082\u540c\u3058\u3088\u3046\u306bAST\u3092\u64cd\u4f5c\u3067\u304d\u307e\u3059\u304c\u3001\u30c7\u30fc\u30bf\u69cb\u9020\u304c\u9055\u3046\u305f\u3081\u3001\u76ee\u7684\u306b\u5fdc\u3058\u3066\u9078\u629e\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u304b\u306a\u3068\u601d\u3044\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.h4,{id:"docusaurus\u306b\u304a\u3051\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0",children:"Docusaurus\u306b\u304a\u3051\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0"}),"\n",(0,r.jsxs)(e.p,{children:["Docusaurus\u3067\u3053\u308c\u3089\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306b\u306fdocusaurus.config.json\u306b\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/markdown-features/plugins",children:"\u3053\u306e\u30da\u30fc\u30b8\u306b\u3088\u308b\u3068"}),"\u6b21\u306e4\u7a2e\u985e\u306e\u8a2d\u5b9a\u5024\u306b\u3066\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u767b\u9332\u3067\u304d\u307e\u3059\u3002"]}),"\n",(0,r.jsxs)(e.table,{children:[(0,r.jsx)(e.thead,{children:(0,r.jsxs)(e.tr,{children:[(0,r.jsx)(e.th,{}),(0,r.jsx)(e.th,{children:"\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u524d"}),(0,r.jsx)(e.th,{children:"\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u5f8c"})]})}),(0,r.jsxs)(e.tbody,{children:[(0,r.jsxs)(e.tr,{children:[(0,r.jsxs)(e.td,{children:["Remark",(0,r.jsx)("br",{}),"Markdown\u5f62\u5f0f"]}),(0,r.jsx)(e.td,{children:"beforeDefaultRemarkPlugins"}),(0,r.jsx)(e.td,{children:"remarkPlugins"})]}),(0,r.jsxs)(e.tr,{children:[(0,r.jsxs)(e.td,{children:["Rehype",(0,r.jsx)("br",{}),"HTML\u5f62\u5f0f"]}),(0,r.jsx)(e.td,{children:"beforeDefaultRehypePlugins"}),(0,r.jsx)(e.td,{children:"rehypePlugins"})]})]})]}),"\n",(0,r.jsx)(e.p,{children:"markdown\u304b\u3089HTML\u3078\u306e\u5909\u63db\u51e6\u7406\u306e\u3068\u3053\u308d\u3067\u3001Docusaurus\u306f\u81ea\u524d\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\uff09\u3092\u4f7f\u3044\u300c\u898b\u51fa\u3057\u306bid\u3092\u3064\u3051\u308b\u300d\u300cAST\u304b\u3089TOC\u3092\u4f5c\u6210\u3059\u308b\u300d\u306a\u3069\u306e\u51e6\u7406\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u4eca\u56de\u306e\u3088\u3046\u306b\u300cAmonition\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u8aad\u3093\u3067TOC\u306b\u53cd\u6620\u3059\u308b\u300d\u305f\u3081\u306b\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u524d\u3068\u9069\u7528\u5f8c\u306e\u4e21\u65b9\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u306e\u51e6\u7406\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.h3,{id:"swizzling\u306b\u3064\u3044\u3066",children:"Swizzling\u306b\u3064\u3044\u3066"}),"\n",(0,r.jsxs)(e.p,{children:["Swizzling\u306f",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/swizzling",children:"\u3053\u3061\u3089"}),"\u306b\u8aac\u660e\u304c\u3042\u308b\u901a\u308a\u306e\u6a5f\u80fd\u3067\u3001\u7c21\u5358\u306b\u8a00\u3046\u3068React\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u6a5f\u80fd\u3067\u3059\u3002"]}),"\n",(0,r.jsx)(e.p,{children:"Swizzling\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3068\u3001Docusaurus\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4ee3\u308f\u308a\u306b\u81ea\u52d5\u7684\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.p,{children:"\u4eca\u56de\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eAdmonition\u306b\u306a\u3044ID\u5c5e\u6027\u3092\u6301\u305f\u305b\u308b\u305f\u3081Admonition\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u307e\u3057\u305f\u3002Swizzling\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eAdmonition\u306e\u4ee3\u308f\u308a\u306b\u3053\u306e\u30ab\u30b9\u30bf\u30e0\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u4f7f\u308f\u308c\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.h2,{id:"\u52d5\u4f5c\u539f\u7406",children:"\u52d5\u4f5c\u539f\u7406"}),"\n",(0,r.jsx)(e.p,{children:"TOC\u306f\u300cAST\u306b\u542b\u307e\u308c\u3066\u3044\u308bheading\u8981\u7d20\u3092\u5358\u7d14\u306b\u914d\u5217\u306b\u5165\u308c\u3066\u3044\u308b\u300d\u3060\u3051\u3067\u3059\u304c\u3001\u3053\u306e\u51e6\u7406\u306f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u4e0a\u66f8\u304d\u3067\u304d\u307e\u305b\u3093\u3002\u305d\u3053\u3067\u3001\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u51e6\u7406\u3060\u3051\u3067Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u3092TOC\u306b\u53cd\u6620\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u6b21\u3092\u601d\u3044\u3064\u304d\u3001\u5b9f\u88c5\u3057\u307e\u3057\u305f\u3002"}),"\n",(0,r.jsxs)(e.ol,{children:["\n",(0,r.jsx)(e.li,{children:"docusaurus\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u304cTOC\u306e\u51e6\u7406\u3092\u884c\u3046\u3088\u308a\u524d\u306b\u3001Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u90e8\u3092\u898b\u51fa\u3057\u3068\u3057\u3066\u65b0\u898f\u4f5c\u6210\u3057\u3001Admonition\u8981\u7d20\u306e\u76f4\u524d\u306b\u8ffd\u52a0\u3059\u308b"}),"\n",(0,r.jsx)(e.li,{children:"docusaurus\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u304cTOC\u306e\u51e6\u7406\u3092\u884c\u3044\u3001Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u90e8\u304cTOC\u306b\u5165\u308b\u3002\u898b\u51fa\u3057\u306b\u306fid\u304c\u4ed8\u4e0e\u3055\u308c\u308b"}),"\n",(0,r.jsx)(e.li,{children:"\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u51e6\u7406\u304c\u7d42\u4e86\u3057\u305f\u3089\u4f5c\u6210\u3057\u305f\u898b\u51fa\u3057\u306f\u4e0d\u8981\u306b\u306a\u308b\u306e\u3067\u524a\u9664\u3059\u308b\u3002\u305d\u306e\u969b\u3001\u524a\u9664\u3059\u308b\u898b\u51fa\u3057\u3068\u540c\u3058\u30bf\u30a4\u30c8\u30eb\u3092\u6301\u3064Admonition\u8981\u7d20\u3092\u63a2\u3057\u3001id\u3092\u4e0e\u3048\u308b"}),"\n",(0,r.jsx)(e.li,{children:"Admonition\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067id\u3092HTML\u30bf\u30b0\u306b\u4ed8\u4e0e\u3059\u308b"}),"\n"]}),"\n",(0,r.jsx)(e.h2,{id:"\u5b9f\u88c5",children:"\u5b9f\u88c5"}),"\n",(0,r.jsx)(e.h3,{id:"docusaurusconfigjson",children:"docusaurus.config.json"}),"\n",(0,r.jsx)(e.p,{children:"\u307e\u305adocusaurus.config.json\u306bimport\u3068plugin\u8a2d\u5b9a\u3092\u8a18\u5165\u3057\u307e\u3059\uff08\u30cf\u30a4\u30e9\u30a4\u30c8\u90e8\uff09\u3002"}),"\n",(0,r.jsx)(e.p,{children:"\u3053\u308c\u3067Docusaurus\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u306e\u524d\u5f8c\u306b\u305d\u308c\u305e\u308c\u81ea\u4f5c\u306eRemark/Rehype\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.p,{children:"blog\u306a\u3069\u3092\u5165\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u305d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u3082\u8a18\u8f09\u3057\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-js",metastring:'title="docusaurus.config.json"',children:"// highlight-start\r\nimport admonitionTitleToHeadingBeforeTOC from './src/remark/admonition-title-to-heading-before-toc.js';\r\nimport admonitionTitleToHeadingAfterTOC from './src/rehype/admonition-title-to-heading-after-toc.js';\r\n// highlight-end\r\n\r\nexport default {\r\n // ...\r\n presets: [\r\n [\r\n 'classic',\r\n /** @type {import('@docusaurus/preset-classic').Options} */\r\n ({\r\n docs: {\r\n // ...\r\n // highlight-start\r\n beforeDefaultRemarkPlugins: [admonitionTitleToHeadingBeforeTOC],\r\n rehypePlugins: [admonitionTitleToHeadingAfterTOC],\r\n // highlight-end\r\n },\r\n blog: {\r\n // ...\r\n // highlight-start\r\n beforeDefaultRemarkPlugins: [admonitionTitleToHeadingBeforeTOC],\r\n rehypePlugins: [admonitionTitleToHeadingAfterTOC],\r\n // highlight-end\r\n },\r\n // ...\r\n }),\r\n ]],\r\n // ...\r\n}\n"})}),"\n",(0,r.jsx)(e.h3,{id:"remarkrehype\u30d7\u30e9\u30b0\u30a4\u30f3",children:"Remark/Rehype\u30d7\u30e9\u30b0\u30a4\u30f3"}),"\n",(0,r.jsx)(e.p,{children:"\u6b21\u306b\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.p,{children:"docusaurus\u306esrc\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\u306brehype\u3068remark\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u308a\u3001\u6b21\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u5185\u5bb9\u30672\u3064\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u308a\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-js",metastring:'title="src/rehype/admonition-title-to-heading-before-toc.js"',children:"import {visit} from 'unist-util-visit';\r\n\r\nconst plugin = (options) => {\r\n const transformer = async (ast) => {\r\n let newBeginningText = \"\";\r\n const visitor = ((node, index, parent) => {\r\n if (node.type === 'containerDirective') {\r\n // :::info\u306a\u3069\u306b\u7d9a\u304f\u30bf\u30a4\u30c8\u30eb\u5192\u982dText\u90e8\uff08\u5192\u982d#\u3092\u542b\u3080\uff08\u3082\u3057\u304f\u306f\u542b\u307e\u306a\u3044\uff09\u90e8\u5206\uff09\u3092\u53d6\u5f97\uff08:::info ##** \uff09\r\n // \uff08\u30bf\u30a4\u30c8\u30eb\u5168\u4f53\u306b\u306fHTML\u7b49\u304c\u542b\u307e\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u5192\u982dText\u90e8\u3060\u3051\u64cd\u4f5c\u3059\u308b\u3001\u6b8b\u308a\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\uff09\r\n const beginningText = node.children[0].children[0].value;\r\n\r\n // \u30bf\u30a4\u30c8\u30eb\u5192\u982dText\u90e8\u306b#\u304c2\u3064\u4ee5\u4e0a\u9023\u7d9a\u3057\u3066\u3044\u308b\u3068\u304d\r\n if(/^##/.test(beginningText)) {\r\n // \u30bf\u30a4\u30c8\u30eb\u5192\u982d\u90e8\u304b\u3089#\u3068\u305d\u308c\u306b\u7d9a\u304f\u7a7a\u767d\u3092\u524a\u9664\r\n newBeginningText = beginningText.replace(/^#+/, '').trim();\r\n\r\n // \u30bf\u30a4\u30c8\u30eb\u90e8\u5192\u982d\u3060\u3051\u66f4\u65b0\u3057\u3001\u6b8b\u308a\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\r\n // \u307e\u305a\u30bf\u30a4\u30c8\u30eb\u90e8\u5168\u4f53\u3092\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\r\n let titleNodes = [...node.children[0].children];\r\n\r\n // \u5192\u982d\u8981\u7d20\u306evalue\u3092\u66f4\u65b0\uff08\u307b\u304b\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\uff09\r\n const newTitleBeginningNode = {\r\n ...titleNodes[0],\r\n value: newBeginningText,\r\n }\r\n \r\n // \u30bf\u30a4\u30c8\u30eb\u30ce\u30fc\u30c9\u306e\u5192\u982d\u8981\u7d20\u3060\u3051\u66f4\u65b0\uff08\u307b\u304b\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\uff09\r\n const newTitleNodes = [ ...titleNodes ];\r\n newTitleNodes[0] = newTitleBeginningNode;\r\n\r\n // visit\u3057\u3066\u3044\u308bcontainerDirective\u306e\u524d\u306bheading\u30ce\u30fc\u30c9\u3092\u8ffd\u52a0\r\n parent.children.splice(index, 0, {\r\n type: 'heading',\r\n depth: (beginningText.match(/^##+/) || [''])[0].length, // #\u306e\u9023\u7d9a\u6570\u304cheading\u306e\u6df1\u3055\r\n children: newTitleNodes,\r\n });\r\n // \u6b21\u306b\u691c\u7d22\u3059\u308b\u306e\u306findex\u30922\u3064\u5206\u98db\u3070\u3057\u305f\u30ce\u30fc\u30c9\r\n return index + 2;\r\n }\r\n }\r\n });\r\n \r\n visit(ast, 'containerDirective', visitor);\r\n \r\n };\r\n return transformer;\r\n};\r\n\r\nexport default plugin;\n"})}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-js",metastring:'title="src/rehype/admonition-title-to-heading-after-toc.js"',children:"import {visit} from 'unist-util-visit';\r\n\r\nconst plugin = (options) => {\r\n const transformer = async (ast) => {\r\n let hId = null;\r\n let hContent = null;\r\n visit(ast, 'element', (node, index, parent) => {\r\n if (/^h[2-6]$/.test(node.tagName) && node.properties && node.properties.id) {\r\n // H\u8981\u7d20\uff08h2~h6\uff09\u3092\u898b\u3064\u3051\u305f\u5834\u5408\r\n \r\n // ID\u3068\u30bf\u30a4\u30c8\u30eb\u306e\u5192\u982dText\u90e8\u3092\u53d6\u5f97\u3059\u308b\r\n hId = node.properties.id;\r\n hContent = node.children ? node.children[0].value :\r\n node.children[0].children[0] ? node.children[0].children[0].value : '';\r\n\r\n // \u7d9a\u304fAdmonition\u3092\u63a2\u3059\uff08doc\u306fH\u8981\u7d20\u3068admonition\u304c\u9023\u7d9a\u3057\u3066\u3044\u308b\u304c\r\n // blog\u3067\u306f\u306a\u305c\u304b\u6539\u884c\u8981\u7d20{ type:'text', value:'\\n' }\u304c\u9593\u306b\u5165\u3063\u3066\u3044\u308b\u306e\u3067\u5ff5\u306e\u305f\u3081\u96a3\u63a53\u8981\u7d20\u3092\u63a2\u3059\r\n for (let i = index + 1; i < index + 4 && i < parent.children.length; i++) {\r\n if(parent.children[i] && parent.children[i].tagName === 'admonition') {\r\n // admonition\uff08div\uff09\u3092\u898b\u3064\u3051\u305f\u5834\u5408\r\n const admonitionNode = parent.children[i];\r\n \r\n // admonition\u30bf\u30a4\u30c8\u30eb\u306e\u5192\u982dText\u90e8\u5206\u3092\u53d6\u5f97\uff08properties.title\u3082\u3057\u304f\u306fchildren[0].children[0].value\uff09\r\n const admonitionNodeTitle = admonitionNode.properties.title ? admonitionNode.properties.title :\r\n admonitionNode.children[0] && admonitionNode.children[0].children[0] ? admonitionNode.children[0].children[0].value : '';\r\n\r\n if(/^##/.test(admonitionNodeTitle) && admonitionNodeTitle.replace(/^#+/, '').trim() === hContent.trim()) {\r\n // #\u3067\u59cb\u307e\u3063\u3066\u3044\u3066\u3001\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u90e8\u304c\u540c\u3058\u5834\u5408\r\n // div\u306eid\u3092H\u30bf\u30b0\u306eid\u306b\u8a2d\u5b9a\r\n admonitionNode.properties.id = hId;\r\n // H\u8981\u7d20\u3092\u524a\u9664\r\n parent.children.splice(index, 1);\r\n }\r\n }\r\n }\r\n }\r\n });\r\n };\r\n return transformer;\r\n};\r\n\r\nexport default plugin;\n"})}),"\n",(0,r.jsxs)(e.admonition,{title:"Admonition\u306e\u30c4\u30ea\u30fc\u69cb\u9020",type:"note",children:[(0,r.jsx)(e.p,{children:"\u53c2\u8003\u307e\u3067\u306b\u3001Remark\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u304b\u3089\u898b\u308b\u3068Admonition\u306eAST\u306f\u4f8b\u3048\u3070\u6b21\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002"}),(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-javascript",metastring:'title="Admonition\u306e\u30c4\u30ea\u30fc\u69cb\u9020\uff08\u4e00\u4f8b\uff09"',children:"{\r\n type: 'containerDirective',\r\n name: 'info',\r\n attributes: {},\r\n children: [\r\n {\r\n type: 'paragraph',\r\n data: { directiveLabel: true },\r\n children: [\r\n {\r\n type: 'text',\r\n value: '#### info title \u3082\u3057HTML\u7b49\u304c\u5165\u308b\u3068\uff08\u3053\u3053\u306ba\u30bf\u30b0\u3092\u5165\u308c\u308b\u3068\uff09',\r\n position: [Object]\r\n },\r\n {\r\n type: 'mdxJsxTextElement',\r\n name: 'a',\r\n attributes: [],\r\n position: [Object],\r\n data: [Object],\r\n children: [Array]\r\n },\r\n { type: 'text', value: '\u3053\u306e\u3088\u3046\u306b\u30bf\u30a4\u30c8\u30eb\u90e8\u304c\u5225\u3005\u306e\u8981\u7d20\u3068\u3057\u3066\u914d\u5217\u306b\u5165\u3063\u3066\u3044\u308b\u3002', position: [Object] }\r\n ],\r\n position: {\r\n start: { line: 1347, column: 8, offset: 34053 },\r\n end: { line: 1347, column: 55, offset: 34100 }\r\n }\r\n },\r\n { type: 'paragraph', children: [Array], position: [Object] },\r\n ...\r\n ],\r\n ...\r\n}\n"})})]}),"\n",(0,r.jsx)(e.h3,{id:"swizzling",children:"Swizzling"}),"\n",(0,r.jsx)(e.p,{children:"\u6b21\u306bSwizzling\u3067\u3059\u3002"}),"\n",(0,r.jsx)(e.p,{children:"Docusaurus\u306esrc/theme\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306bAdmonition\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u308a\u3001\u6b21\u306e\u4e00\u4f8b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u683c\u7d0d\u3057\u307e\u3059\u3002"}),"\n",(0,r.jsxs)(e.p,{children:["\u306a\u304a",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/swizzling#ejecting",children:"\u3053\u3053\u306b\u8aac\u660e\u304c\u3042\u308b\u901a\u308a"}),"Swizzling\u306b\u306fEjecting\u3068Wrapping\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002"]}),"\n",(0,r.jsx)(e.p,{children:"Wrapping\u3067\u306fAdmonition\u306e\u5185\u90e8\u307e\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u306a\u3044\u305f\u3081\u300c\u30bf\u30a4\u30c8\u30eb\u90e8\u5206\u306bid\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4ed8\u3051\u308b\u300d\u3068\u3044\u3063\u305f\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081Ejecting\u3092\u4f7f\u3044\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.admonition,{type:"note",children:(0,r.jsx)(e.p,{children:"Ejecting\u3092\u4f7f\u3046\u5834\u5408\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306b\u3088\u3063\u3066\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u6319\u52d5\u304c\u5909\u308f\u3063\u3066\u304f\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306e\u969b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002"})}),"\n",(0,r.jsx)(e.h4,{id:"ejecting",children:"Ejecting"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-bash",children:"npm run swizzle @docusaurus/theme-classic Admonition -- --eject\n"})}),"\n",(0,r.jsx)(e.p,{children:"Docusaurus V3.1\u3067\u306f\u6b21\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u307e\u3059\u306e\u3067\u3001YES\u3092\u9078\u3073\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-bash",children:"? Do you really want to swizzle this unsafe internal component? \xbb - Use arrow-keys. Return to submit.\r\n NO: cancel and stay safe\r\n> YES: I know what I am doing!\n"})}),"\n",(0,r.jsx)(e.p,{children:"Ejecting\u3092\u3059\u308b\u3068\u3001\u5b9f\u8cea\u7684\u306bnode_modules\u306e@docusaurus/theme-classic/lib/theme\u306b\u3042\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304csrc/theme\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.p,{children:"\u3042\u3068\u306f\u30b3\u30d4\u30fc\u3055\u308c\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u3044\u3058\u308b\u3060\u3051\u3067\u3059\u3002"}),"\n",(0,r.jsx)(e.h4,{id:"\u30b3\u30fc\u30c9\u306e\u5909\u66f4",children:"\u30b3\u30fc\u30c9\u306e\u5909\u66f4"}),"\n",(0,r.jsx)(e.p,{children:"Layout\u30d5\u30a1\u30a4\u30eb\u3092\u6b21\u306e\u3088\u3046\u306b\u5909\u66f4\u3059\u308b\u306e\u307f\u3067\u3059\u3002"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-js",metastring:'title="src/theme/Admonition/Layout/index.js"',children:"import React from 'react';\r\nimport clsx from 'clsx';\r\nimport {ThemeClassNames} from '@docusaurus/theme-common';\r\nimport styles from './styles.module.css';\r\n// highlight-next-line\r\nimport headingStyles from '@docusaurus/theme-classic/lib/theme/Heading/styles.module.css';\r\n\r\nfunction AdmonitionContainer({type, className, children}) {\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n}\r\n// highlight-start\r\nfunction AdmonitionHeading({icon, title, id}) {\r\n let depth = 0;\r\n let trimmedTitle = title;\r\n // title\u306bHTML\u7b49\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u6587\u5b57\u5217\u3067\u306f\u306a\u304f\u914d\u5217\u306b\u306a\u308b\r\n if(typeof title === \"string\") {\r\n // \u6587\u5b57\u5217\u5192\u982d\u306e#\u306e\u6570\u3092\u6570\u3048\u308b\uff08\r\n depth = title.match ? (title.toString().match(/^#+/) || [''])[0].length : 0;\r\n // #\u3092\u7701\u3044\u305f\u30bf\u30a4\u30c8\u30eb\u3092\u5f97\u308b\r\n trimmedTitle = depth > 0 ? title.replace(/^#+/, '').trim() : title;\r\n } else if (typeof title[0] === \"string\") {\r\n depth = title[0].match ? (title[0].match(/^#+/) || [''])[0].length : 0;\r\n trimmedTitle = depth > 0 ? [title[0].replace(/^#+/, '').trim(), ...title.slice(1)] : title;\r\n }\r\n\r\n // \u30b9\u30af\u30ed\u30fc\u30eb\u4f4d\u7f6e\u8abf\u6574\u306ecss\r\n const classNames = clsx(\"anchor\", \"title\", headingStyles.anchorWithStickyNavbar);\r\n // depth\u306b\u5fdc\u3058\u3066\u898b\u51fa\u3057\u30bf\u30b0\u3092\u30ec\u30f3\u30c0\u30fc\r\n return (\r\n
\r\n {icon}\r\n {(() => {\r\n if (depth == 3) {\r\n return(\r\n \r\n {trimmedTitle}\r\n \r\n )\r\n } else if (depth == 4) {\r\n return(\r\n \r\n {trimmedTitle}\r\n \r\n )\r\n } else if (depth == 5) {\r\n return(\r\n \r\n {trimmedTitle}\r\n \r\n )\r\n } else if (depth == 6) {\r\n return(\r\n \r\n {trimmedTitle}\r\n \r\n )\r\n } else {\r\n return(\r\n <>\r\n {trimmedTitle}\r\n \r\n )\r\n }\r\n })()}\r\n
\r\n );\r\n}\r\n// highlight-end\r\nfunction AdmonitionContent({children}) {\r\n return children ? (\r\n
{children}
\r\n ) : null;\r\n}\r\nexport default function AdmonitionLayout(props) {\r\n // highlight-next-line\r\n const {type, icon, title, children, className, id} = props;\r\n return (\r\n \r\n // highlight-next-line\r\n \r\n {children}\r\n \r\n );\r\n}\n"})}),"\n",(0,r.jsx)(e.p,{children:"\u4e0a\u8a18\u3092\u8a2d\u5b9a\u5f8c\u3001npm start\u7b49\u306e\u518d\u8d77\u52d5\u304c\u5fc5\u8981\u3067\u3059\u3002"}),"\n",(0,r.jsx)(e.p,{children:"\u4ee5\u4e0a\u3067\u3059\u3002"})]})}function h(n={}){const{wrapper:e}={...(0,t.a)(),...n.components};return e?(0,r.jsx)(e,{...n,children:(0,r.jsx)(c,{...n})}):c(n)}},73660:(n,e,i)=>{i.d(e,{Z:()=>r});const r=i.p+"assets/images/admonition-no-toc-98d7dfb77b6d769fe6815f0fb702575d.png"},11151:(n,e,i)=>{i.d(e,{Z:()=>d,a:()=>o});var r=i(67294);const t={},s=r.createContext(t);function o(n){const e=r.useContext(s);return r.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function d(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(t):n.components||t:o(n.components),r.createElement(s.Provider,{value:e},n.children)}}}]); \ No newline at end of file diff --git a/build/assets/js/18ce1c6a.f6702073.js b/build/assets/js/18ce1c6a.f6702073.js deleted file mode 100644 index 044d916f..00000000 --- a/build/assets/js/18ce1c6a.f6702073.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[7446],{98485:(n,e,i)=>{i.r(e),i.d(e,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>s,metadata:()=>d,toc:()=>a});var r=i(85893),t=i(11151);const s={title:"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5",description:"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002",authors:"yohei",tags:["\u6280\u8853","docusaurus","v3.1"],hide_table_of_contents:!1},o=void 0,d={permalink:"/docs/blog/2024/01/27/docusaurus-admonition-heading-toc",source:"@site/blog/2024/01/27/docusaurus-admonition-heading-toc/index.mdx",title:"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5",description:"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002",date:"2024-01-27T00:00:00.000Z",formattedDate:"2024\u5e741\u670827\u65e5",tags:[{label:"\u6280\u8853",permalink:"/docs/blog/tags/\u6280\u8853"},{label:"docusaurus",permalink:"/docs/blog/tags/docusaurus"},{label:"v3.1",permalink:"/docs/blog/tags/v-3-1"}],readingTime:16.795,hasTruncateMarker:!0,authors:[{name:"\u5b89\u7af9 \u6d0b\u5e73",title:"\u6771\u4eac\u90fd\u5c0f\u5e73\u5e02\u8b70\u4f1a\u8b70\u54e1",url:"https://yasutakeyohei.com",email:"yohei@yasutakeyohei.com",imageURL:"https://cgit.yasutakeyohei.com/yohei.jpg",key:"yohei"}],frontMatter:{title:"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5",description:"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002",authors:"yohei",tags:["\u6280\u8853","docusaurus","v3.1"],hide_table_of_contents:!1},unlisted:!1,nextItem:{title:"\u65b0\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u7acb\u3061\u4e0a\u3052\u307e\u3057\u305f",permalink:"/docs/blog/2024/01/26/new-flat-blog"}},l={authorsImageUrls:[void 0]},a=[{value:"Docusaurus\u306f\u30b9\u30b4\u30a4\u306d\ud83e\udd96",id:"docusaurus\u306f\u30b9\u30b4\u30a4\u306d",level:2},{value:"Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u304c\u898b\u51fa\u3057\u306b\u306a\u3089\u306a\u3044",id:"admonition\u306e\u30bf\u30a4\u30c8\u30eb\u304c\u898b\u51fa\u3057\u306b\u306a\u3089\u306a\u3044",level:2},{value:"\u30c6\u30b9\u30c8",id:"\u30c6\u30b9\u30c8",level:4},{value:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5f8c\u306f\u3069\u3046\u306a\u308b\u304b",id:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5f8c\u306f\u3069\u3046\u306a\u308b\u304b",level:2},{value:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b#\u3092\u5165\u308c\u305f\u5834\u5408",id:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b\u3092\u5165\u308c\u305f\u5834\u5408",level:3},{value:"\u898b\u51fa\u3057\u306b\u306a\u308aTOC\u306b\u53cd\u6620\u3055\u308c\u308b\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",id:"\u898b\u51fa\u3057\u306b\u306a\u308atoc\u306b\u53cd\u6620\u3055\u308c\u308b\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",level:4},{value:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b#\u3092\u5165\u308c\u306a\u3044\u5834\u5408",id:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b\u3092\u5165\u308c\u306a\u3044\u5834\u5408",level:3},{value:"\u898b\u51fa\u3057\u306b\u306a\u3089\u305aTOC\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",id:"\u898b\u51fa\u3057\u306b\u306a\u3089\u305atoc\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",level:4},{value:"\u30bf\u30a4\u30c8\u30eb\u306bHTML\u3092\u5165\u308c\u308b\u3053\u3068\u3082\u53ef\u80fd",id:"\u30bf\u30a4\u30c8\u30eb\u306bhtml\u3092\u5165\u308c\u308b\u3053\u3068\u3082\u53ef\u80fd",level:3},{value:"\u30c6\u30b9\u30c8123\u30c6\u30b9\u30c8\u4e0b\u7dda",id:"\u30c6\u30b9\u30c8123\u30c6\u30b9\u30c8\u4e0b\u7dda",level:4},{value:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u5229\u7528\u3057\u305f\u6a5f\u80fd",id:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u5229\u7528\u3057\u305f\u6a5f\u80fd",level:2},{value:"Remark\u3068Rehype\u306b\u3064\u3044\u3066",id:"remark\u3068rehype\u306b\u3064\u3044\u3066",level:3},{value:"Docusaurus\u306b\u304a\u3051\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0",id:"docusaurus\u306b\u304a\u3051\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0",level:4},{value:"Swizzling\u306b\u3064\u3044\u3066",id:"swizzling\u306b\u3064\u3044\u3066",level:3},{value:"\u52d5\u4f5c\u539f\u7406",id:"\u52d5\u4f5c\u539f\u7406",level:2},{value:"\u5b9f\u88c5",id:"\u5b9f\u88c5",level:2},{value:"docusaurus.config.json",id:"docusaurusconfigjson",level:3},{value:"Remark/Rehype\u30d7\u30e9\u30b0\u30a4\u30f3",id:"remarkrehype\u30d7\u30e9\u30b0\u30a4\u30f3",level:3},{value:"Swizzling",id:"swizzling",level:3},{value:"Ejecting",id:"ejecting",level:4},{value:"\u30b3\u30fc\u30c9\u306e\u5909\u66f4",id:"\u30b3\u30fc\u30c9\u306e\u5909\u66f4",level:4}];function c(n){const e={a:"a",admonition:"admonition",br:"br",code:"code",h2:"h2",h3:"h3",h4:"h4",img:"img",li:"li",mdxAdmonitionTitle:"mdxAdmonitionTitle",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,t.a)(),...n.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e.h2,{id:"docusaurus\u306f\u30b9\u30b4\u30a4\u306d",children:"Docusaurus\u306f\u30b9\u30b4\u30a4\u306d\ud83e\udd96"}),"\n",(0,r.jsxs)(e.p,{children:["1\u30f5\u6708\u5f31\u4f7f\u3044\u307e\u3057\u305f\u304c\u3001\u3053\u306e",(0,r.jsx)(e.a,{href:"https://docusaurus.io/",children:"Docusaurus"}),"\uff08\u30c9\u30ad\u30e5\u30b5\u30a6\u30eb\u30b9\uff09\u306f\u6570\u3042\u308bCMS\u306e\u4e2d\u3067\u3082\u79c0\u9038\u3067\u3059\u3002"]}),"\n",(0,r.jsx)(e.p,{children:"\u6587\u66f8\u4f5c\u6210\u3068\u7ba1\u7406\u304c\u5bb9\u6613\u3067\u3001\u62e1\u5f35\u306e\u81ea\u7531\u5ea6\u3082\u975e\u5e38\u306b\u9ad8\u304f\u3001\u5b8c\u5168\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3002"}),"\n",(0,r.jsxs)(e.p,{children:["\u8b70\u54e1\u6d3b\u52d5\u306b\u91cd\u8981\u306a\u300c",(0,r.jsx)(e.strong,{children:"\u8cc7\u6599\u3092\u4f5c\u6210\u3057\u307e\u3068\u3081\u3066\u516c\u958b\u3059\u308b\u30c4\u30fc\u30eb"}),"\u300d\u3068\u3057\u3066\u73fe\u72b6\u306e\u6700\u9069\u89e3\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002"]}),"\n","\n",(0,r.jsxs)(e.p,{children:["facebook\u304c\u6bcd\u4f53\u306a\u306e\u3067\u8272\u3005\u3068\u6c17\u306b\u306a\u308b\u3068\u3053\u308d\u3067\u3059\u304c\u3001",(0,r.jsx)(e.a,{href:"https://ja.legacy.reactjs.org/",children:"React"}),"\u3092\u521d\u3081\u3068\u3057\u3066\u6709\u76ca\u306a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u5b8c\u5168\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3068\u3057\u3066\u63d0\u4f9b\u3057\u3066\u304f\u308c\u3066\u3044\u308b\u3053\u3068\u306f\u7d14\u7c8b\u306b\u3042\u308a\u304c\u305f\u3044\u3068\u611f\u3058\u307e\u3059\u3002"]}),"\n",(0,r.jsx)(e.h2,{id:"admonition\u306e\u30bf\u30a4\u30c8\u30eb\u304c\u898b\u51fa\u3057\u306b\u306a\u3089\u306a\u3044",children:"Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u304c\u898b\u51fa\u3057\u306b\u306a\u3089\u306a\u3044"}),"\n",(0,r.jsxs)(e.p,{children:["\u3055\u3066Docusaurus\u306b\u306f",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/markdown-features/admonitions",children:"Admonition"}),"\uff08\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff09\u3092\u5bb9\u6613\u306bmarkdown\u3067\u66f8\u304f\u65b9\u6cd5\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002"]}),"\n",(0,r.jsx)(e.p,{children:"\u4f8b\u3048\u3070info\u306a\u3089\u3001\u6b21\u306e\u3088\u3046\u306bmarkdown\u3067\u66f8\u3051\u3070\u3001"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-mdx",metastring:'title="Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09"',children:":::info[info\u306e\u4f8b]\r\n\r\n\u3053\u3053\u306b\u6587\u7ae0\u3092\u66f8\u304f\r\n\r\n:::\n"})}),"\n",(0,r.jsx)(e.p,{children:"\u6b21\u306e\u3088\u3046\u306bHTML\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.admonition,{title:"info\u306e\u4f8b",type:"info",children:(0,r.jsx)(e.p,{children:"\u3053\u3053\u306b\u6587\u7ae0\u3092\u66f8\u304f"})}),"\n",(0,r.jsxs)(e.p,{children:["\u3057\u304b\u3057\uff08DocusaurusV3.1\uff09\u3067\u3053\u306eAdmonition\u306e\u30bf\u30a4\u30c8\u30eb\u306f\u898b\u51fa\u3057\uff08",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/markdown-features/toc",children:"Heading"}),"\uff09\u306b\u306a\u3089\u305a\u3001\u76ee\u6b21\uff08",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/markdown-features/toc",children:"TOC"}),"\uff09\u306b\u3082\u4e57\u308a\u307e\u305b\u3093\u3002\u4e0a\u8a18\u4f8b\u306a\u3089\u300cINFO\u306e\u4f8b\u300d\u304cTOC\u306b\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002"]}),"\n",(0,r.jsx)(e.p,{children:"\u6b21\u306e\u56f3\u304b\u3089\u3082\u5206\u304b\u3063\u3066\u3044\u305f\u3060\u3051\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.p,{children:(0,r.jsx)(e.img,{alt:"Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u304c\u898b\u51fa\u3057\u306b\u306a\u3089\u306a\u3044",src:i(73660).Z+"",width:"903",height:"820"})}),"\n",(0,r.jsx)(e.p,{children:"\u4e9b\u7d30\u306a\u3053\u3068\u306e\u3088\u3046\u306b\u3082\u601d\u3048\u307e\u3059\u304c\u3001Docusaurus\u3092\u66f8\u7c4d\u306e\u3088\u3046\u306b\u6271\u3046\u306b\u306f\u7d50\u69cb\u6c17\u306b\u306a\u308b\u3068\u3053\u308d\u3002"}),"\n",(0,r.jsxs)(e.p,{children:["\u306a\u304a",(0,r.jsx)(e.a,{href:"https://github.com/elviswolcott/remark-admonitions/issues/26",children:"\u4ee5\u524d\u306fAdmonition\u306e\u30bf\u30a4\u30c8\u30eb\u306fH5\u8981\u7d20\u306b\u306a\u3063\u3066\u3044\u305f"}),"\u3088\u3046\u3067\u3059\u304c\u3001\u6df1\u3055\uff08H1\uff5eH5\u306e\u30ec\u30d9\u30eb\uff09\u3092\u6c7a\u3081\u6253\u3061\u3059\u308b\u306e\u306f\u597d\u307e\u3057\u304f\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u304b\u3089\uff08\uff1f\uff09\u3001\u4eca\u306fH5\u8981\u7d20\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002"]}),"\n",(0,r.jsx)(e.p,{children:"\u6b21\u306e\u3088\u3046\u306b\u672c\u6587\u4e2d\u306b\u898b\u51fa\u3057\u3092\u66f8\u304f\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u304c"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-mdx",metastring:'title="Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09"',children:":::info\r\n\r\n#### \u30c6\u30b9\u30c8\r\n\r\n\uff5e\u6587\u7ae0\uff5e\r\n\r\n:::\n"})}),"\n",(0,r.jsx)(e.p,{children:"\u898b\u305f\u76ee\u304c\u30a4\u30de\u30a4\u30c1\u306b\u306a\u308a\u307e\u3059\u3002"}),"\n",(0,r.jsxs)(e.admonition,{type:"info",children:[(0,r.jsx)(e.h4,{id:"\u30c6\u30b9\u30c8",children:"\u30c6\u30b9\u30c8"}),(0,r.jsx)(e.p,{children:"\uff5e\u6587\u7ae0\uff5e"})]}),"\n",(0,r.jsxs)(e.p,{children:[(0,r.jsx)(e.a,{href:"https://github.com/facebook/docusaurus/discussions/7146",children:"\u307b\u304b\u306e\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306e\u8981\u671b"}),"\u3082\u4e0a\u304c\u3063\u3066\u304a\u308a\u3001\u79c1\u3082\u5c11\u3057\u4e0d\u4fbf\u306b\u611f\u3058\u3066\u3044\u305f\u306e\u3067\u3001\u6b21\u306e\u4ed5\u69d8\u306b\u306a\u308b\u3088\u3046\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u3092\u7d39\u4ecb\u3059\u308b\u8a18\u4e8b\u3067\u3059\u3002"]}),"\n",(0,r.jsx)(e.h2,{id:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5f8c\u306f\u3069\u3046\u306a\u308b\u304b",children:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5f8c\u306f\u3069\u3046\u306a\u308b\u304b"}),"\n",(0,r.jsxs)(e.p,{children:["\u5f8c\u8ff0\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u3059\u308b\u3068\u3001Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u90e8\u306b\uff08\u901a\u5e38\u306e\u898b\u51fa\u3057markdown\u3068\u540c\u69d8\u306b\uff09",(0,r.jsx)(e.strong,{children:"#\u3092\u5192\u982d\u306b2\u500b\u4ee5\u4e0a\u5165\u308c\u308b"})," \u3053\u3068\u3067\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305fTOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002#\u30922\u500b\u4ee5\u4e0a\u3068\u3057\u3066\u3044\u308b\u306e\u306f\u3001H1\u3092Admonition\u306b\u306f\u4f7f\u308f\u306a\u3044\u306f\u305a\u306e\u305f\u3081\u3002\u307e\u305f#\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u306f\u898b\u51fa\u3057\u306b\u306a\u3089\u305a\u3001TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\u3002"]}),"\n",(0,r.jsx)(e.h3,{id:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b\u3092\u5165\u308c\u305f\u5834\u5408",children:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b#\u3092\u5165\u308c\u305f\u5834\u5408"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-mdx",metastring:'title="Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09"',children:":::info[#### \u898b\u51fa\u3057\u306b\u306a\u308aTOC\u306b\u53cd\u6620\u3055\u308c\u308b\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b]\r\n\r\n#\u304c4\u3064\u5206\u306e\u305f\u3081H4\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u3059\u3002TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002\r\n\r\n:::\n"})}),"\n",(0,r.jsx)(e.p,{children:"\u2193"}),"\n","\n",(0,r.jsx)(e.admonition,{title:"#### \u898b\u51fa\u3057\u306b\u306a\u308aTOC\u306b\u53cd\u6620\u3055\u308c\u308b\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",type:"info",id:"\u898b\u51fa\u3057\u306b\u306a\u308atoc\u306b\u53cd\u6620\u3055\u308c\u308b\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",children:(0,r.jsx)(e.p,{children:"#\u304c4\u3064\u5206\u306e\u305f\u3081H4\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u3059\u3002TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002"})}),"\n",(0,r.jsxs)(e.p,{children:["\u3053\u306e\u30d6\u30ed\u30b0\u3067\u3082TOC\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002",(0,r.jsx)(e.br,{}),"\n","\u306a\u304a\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u3092\u4e57\u305b\u305f\u969b\u306b\u30cf\u30c3\u30b7\u30e5\u30ea\u30f3\u30af\uff08#\uff09\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306fCSS\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002"]}),"\n",(0,r.jsx)(e.h3,{id:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b\u3092\u5165\u308c\u306a\u3044\u5834\u5408",children:"\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b#\u3092\u5165\u308c\u306a\u3044\u5834\u5408"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-mdx",metastring:'title="Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09"',children:":::info[\u898b\u51fa\u3057\u306b\u306a\u3089\u305aTOC\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b]\r\n\r\n#\u304c\u306a\u3044\u305f\u3081\u898b\u51fa\u3057\u306b\u306a\u3089\u305a\u3001TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\u3002\r\n\r\n:::\n"})}),"\n",(0,r.jsx)(e.p,{children:"\u2193"}),"\n","\n",(0,r.jsx)(e.admonition,{title:"#### \u898b\u51fa\u3057\u306b\u306a\u3089\u305aTOC\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",type:"info",id:"\u898b\u51fa\u3057\u306b\u306a\u3089\u305atoc\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b",children:(0,r.jsx)(e.p,{children:"#\u304c\u306a\u3044\u305f\u3081\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u305b\u3093\u3002"})}),"\n",(0,r.jsx)(e.h3,{id:"\u30bf\u30a4\u30c8\u30eb\u306bhtml\u3092\u5165\u308c\u308b\u3053\u3068\u3082\u53ef\u80fd",children:"\u30bf\u30a4\u30c8\u30eb\u306bHTML\u3092\u5165\u308c\u308b\u3053\u3068\u3082\u53ef\u80fd"}),"\n",(0,r.jsx)(e.p,{children:"\u306a\u304a\u30bf\u30a4\u30c8\u30eb\u90e8\u306bHTML\u3092\u5165\u308c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002"}),"\n","\n",(0,r.jsxs)(e.admonition,{type:"info",id:"\u30c6\u30b9\u30c8123\u30c6\u30b9\u30c8\u4e0b\u7dda",children:[(0,r.jsxs)(e.mdxAdmonitionTitle,{children:["#### \u30c6\u30b9\u30c8",(0,r.jsx)("sup",{children:"123"}),"\u30c6\u30b9\u30c8",(0,r.jsx)("u",{children:"\u4e0b\u7dda"})]}),(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{children:"\r\n\u30bf\u30a4\u30c8\u30eb\u90e8\u306emarkdown\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002\r\n\r\n#### \u30c6\u30b9\u30c8123\u30c6\u30b9\u30c8\u4e0b\u7dda\r\n\n"})})]}),"\n",(0,r.jsx)(e.h2,{id:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u5229\u7528\u3057\u305f\u6a5f\u80fd",children:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u5229\u7528\u3057\u305f\u6a5f\u80fd"}),"\n",(0,r.jsx)(e.p,{children:"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306f\u6b21\u306e\u6a5f\u80fd\u3092\u6d3b\u7528\u3057\u307e\u3057\u305f\u3002"}),"\n",(0,r.jsxs)(e.ul,{children:["\n",(0,r.jsx)(e.li,{children:(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/markdown-features/plugins",children:"Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3"})}),"\n",(0,r.jsx)(e.li,{children:(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/swizzling",children:"Swizzling"})}),"\n"]}),"\n",(0,r.jsx)(e.h3,{id:"remark\u3068rehype\u306b\u3064\u3044\u3066",children:"Remark\u3068Rehype\u306b\u3064\u3044\u3066"}),"\n",(0,r.jsxs)(e.p,{children:["Remark\u3068Rehype\u306f\u3001markdown\u3092HTML\u306b\u5909\u63db\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u306b\u304a\u3044\u3066\u3001AST\uff08\u62bd\u8c61\u69cb\u6587\u6728\u30fbAbstract Syntax Tree\uff09\u306b\u4f5c\u7528\u3059\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3059\u3002\u306a\u304a",(0,r.jsx)(e.a,{href:"https://github.com/unifiedjs/unified",children:"AST\u3092\u64cd\u4f5c\u3059\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0"}),"\u306e\u4e2d\u306b\u306f\u3082\u3046\u4e00\u3064",(0,r.jsx)(e.a,{href:"https://github.com/retextjs/retext",children:"Retext"}),"\u3068\u3044\u3046\u30d7\u30e9\u30b0\u30a4\u30f3\u3082\u3042\u308a\u307e\u3059\u304c\u3001Docusaurus\u306b\u306f\u5b9f\u88c5\u3055\u308c\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u3059\u3002"]}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-md",metastring:'title="markdown\u304b\u3089HTML\u3078\u5909\u63db\u51e6\u7406\u306e\u6d41\u308c"',children:"| ........................ process ........................... |\r\n| .......... parse ... | ... run ... | ... stringify ..........|\r\n\r\n +--------+ +----------+\r\nInput ->- | Parser | ->- Syntax Tree ->- | Compiler | ->- Output\r\n +--------+ | +----------+\r\n X\r\n |\r\n +--------------+\r\n | Transformers |\r\n +--------------+\n"})}),"\n",(0,r.jsxs)(e.p,{children:["\u4e0a\u56f3\uff08",(0,r.jsx)(e.a,{href:"https://github.com/unifiedjs/unified?tab=readme-ov-file#overview",children:"Unified Overview\u3088\u308a"}),"\uff09\u306bTransformers\u3068\u3042\u308b\u3068\u3053\u308d\u304cRemark/Rehype\u306e\u52d5\u4f5c\u3059\u308b\u3068\u3053\u308d\u3002"]}),"\n",(0,r.jsx)(e.p,{children:"Remark\u306fmarkdown\u5f62\u5f0f\u3067\u3001Rehype\u306fHTML\u5f62\u5f0f\u3067AST\u3092\u6271\u3044\u307e\u3059\u3002\u3069\u3061\u3089\u3082\u540c\u3058\u3088\u3046\u306bAST\u3092\u64cd\u4f5c\u3067\u304d\u307e\u3059\u304c\u3001\u30c7\u30fc\u30bf\u69cb\u9020\u304c\u9055\u3046\u305f\u3081\u3001\u76ee\u7684\u306b\u5fdc\u3058\u3066\u9078\u629e\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u304b\u306a\u3068\u601d\u3044\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.h4,{id:"docusaurus\u306b\u304a\u3051\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0",children:"Docusaurus\u306b\u304a\u3051\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0"}),"\n",(0,r.jsxs)(e.p,{children:["Docusaurus\u3067\u3053\u308c\u3089\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306b\u306fdocusaurus.config.json\u306b\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/markdown-features/plugins",children:"\u3053\u306e\u30da\u30fc\u30b8\u306b\u3088\u308b\u3068"}),"\u6b21\u306e4\u7a2e\u985e\u306e\u8a2d\u5b9a\u5024\u306b\u3066\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u767b\u9332\u3067\u304d\u307e\u3059\u3002"]}),"\n",(0,r.jsxs)(e.table,{children:[(0,r.jsx)(e.thead,{children:(0,r.jsxs)(e.tr,{children:[(0,r.jsx)(e.th,{}),(0,r.jsx)(e.th,{children:"\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u524d"}),(0,r.jsx)(e.th,{children:"\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u5f8c"})]})}),(0,r.jsxs)(e.tbody,{children:[(0,r.jsxs)(e.tr,{children:[(0,r.jsxs)(e.td,{children:["Remark",(0,r.jsx)("br",{}),"Markdown\u5f62\u5f0f"]}),(0,r.jsx)(e.td,{children:"beforeDefaultRemarkPlugins"}),(0,r.jsx)(e.td,{children:"remarkPlugins"})]}),(0,r.jsxs)(e.tr,{children:[(0,r.jsxs)(e.td,{children:["Rehype",(0,r.jsx)("br",{}),"HTML\u5f62\u5f0f"]}),(0,r.jsx)(e.td,{children:"beforeDefaultRehypePlugins"}),(0,r.jsx)(e.td,{children:"rehypePlugins"})]})]})]}),"\n",(0,r.jsx)(e.p,{children:"markdown\u304b\u3089HTML\u3078\u306e\u5909\u63db\u51e6\u7406\u306e\u3068\u3053\u308d\u3067\u3001Docusaurus\u306f\u81ea\u524d\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\uff09\u3092\u4f7f\u3044\u300c\u898b\u51fa\u3057\u306bid\u3092\u3064\u3051\u308b\u300d\u300cAST\u304b\u3089TOC\u3092\u4f5c\u6210\u3059\u308b\u300d\u306a\u3069\u306e\u51e6\u7406\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u4eca\u56de\u306e\u3088\u3046\u306b\u300cAmonition\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u8aad\u3093\u3067TOC\u306b\u53cd\u6620\u3059\u308b\u300d\u305f\u3081\u306b\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u524d\u3068\u9069\u7528\u5f8c\u306e\u4e21\u65b9\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u306e\u51e6\u7406\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.h3,{id:"swizzling\u306b\u3064\u3044\u3066",children:"Swizzling\u306b\u3064\u3044\u3066"}),"\n",(0,r.jsxs)(e.p,{children:["Swizzling\u306f",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/swizzling",children:"\u3053\u3061\u3089"}),"\u306b\u8aac\u660e\u304c\u3042\u308b\u901a\u308a\u306e\u6a5f\u80fd\u3067\u3001\u7c21\u5358\u306b\u8a00\u3046\u3068React\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u6a5f\u80fd\u3067\u3059\u3002"]}),"\n",(0,r.jsx)(e.p,{children:"Swizzling\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3068\u3001Docusaurus\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4ee3\u308f\u308a\u306b\u81ea\u52d5\u7684\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.p,{children:"\u4eca\u56de\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eAdmonition\u306b\u306a\u3044ID\u5c5e\u6027\u3092\u6301\u305f\u305b\u308b\u305f\u3081Admonition\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u307e\u3057\u305f\u3002Swizzling\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eAdmonition\u306e\u4ee3\u308f\u308a\u306b\u3053\u306e\u30ab\u30b9\u30bf\u30e0\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u4f7f\u308f\u308c\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.h2,{id:"\u52d5\u4f5c\u539f\u7406",children:"\u52d5\u4f5c\u539f\u7406"}),"\n",(0,r.jsx)(e.p,{children:"TOC\u306f\u300cAST\u306b\u542b\u307e\u308c\u3066\u3044\u308bheading\u8981\u7d20\u3092\u5358\u7d14\u306b\u914d\u5217\u306b\u5165\u308c\u3066\u3044\u308b\u300d\u3060\u3051\u3067\u3059\u304c\u3001\u3053\u306e\u51e6\u7406\u306f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u4e0a\u66f8\u304d\u3067\u304d\u307e\u305b\u3093\u3002\u305d\u3053\u3067\u3001\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u51e6\u7406\u3060\u3051\u3067Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u3092TOC\u306b\u53cd\u6620\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u6b21\u3092\u601d\u3044\u3064\u304d\u3001\u5b9f\u88c5\u3057\u307e\u3057\u305f\u3002"}),"\n",(0,r.jsxs)(e.ol,{children:["\n",(0,r.jsx)(e.li,{children:"docusaurus\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u304cTOC\u306e\u51e6\u7406\u3092\u884c\u3046\u3088\u308a\u524d\u306b\u3001Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u90e8\u3092\u898b\u51fa\u3057\u3068\u3057\u3066\u65b0\u898f\u4f5c\u6210\u3057\u3001Admonition\u8981\u7d20\u306e\u76f4\u524d\u306b\u8ffd\u52a0\u3059\u308b"}),"\n",(0,r.jsx)(e.li,{children:"docusaurus\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u304cTOC\u306e\u51e6\u7406\u3092\u884c\u3044\u3001Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u90e8\u304cTOC\u306b\u5165\u308b\u3002\u898b\u51fa\u3057\u306b\u306fid\u304c\u4ed8\u4e0e\u3055\u308c\u308b"}),"\n",(0,r.jsx)(e.li,{children:"\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u51e6\u7406\u304c\u7d42\u4e86\u3057\u305f\u3089\u4f5c\u6210\u3057\u305f\u898b\u51fa\u3057\u306f\u4e0d\u8981\u306b\u306a\u308b\u306e\u3067\u524a\u9664\u3059\u308b\u3002\u305d\u306e\u969b\u3001\u524a\u9664\u3059\u308b\u898b\u51fa\u3057\u3068\u540c\u3058\u30bf\u30a4\u30c8\u30eb\u3092\u6301\u3064Admonition\u8981\u7d20\u3092\u63a2\u3057\u3001id\u3092\u4e0e\u3048\u308b"}),"\n",(0,r.jsx)(e.li,{children:"Admonition\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067id\u3092HTML\u30bf\u30b0\u306b\u4ed8\u4e0e\u3059\u308b"}),"\n"]}),"\n",(0,r.jsx)(e.h2,{id:"\u5b9f\u88c5",children:"\u5b9f\u88c5"}),"\n",(0,r.jsx)(e.h3,{id:"docusaurusconfigjson",children:"docusaurus.config.json"}),"\n",(0,r.jsx)(e.p,{children:"\u307e\u305adocusaurus.config.json\u306bimport\u3068plugin\u8a2d\u5b9a\u3092\u8a18\u5165\u3057\u307e\u3059\uff08\u30cf\u30a4\u30e9\u30a4\u30c8\u90e8\uff09\u3002"}),"\n",(0,r.jsx)(e.p,{children:"\u3053\u308c\u3067Docusaurus\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u306e\u524d\u5f8c\u306b\u305d\u308c\u305e\u308c\u81ea\u4f5c\u306eRemark/Rehype\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.p,{children:"blog\u306a\u3069\u3092\u5165\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u305d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u3082\u8a18\u8f09\u3057\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-js",metastring:'title="docusaurus.config.json"',children:"// highlight-start\r\nimport admonitionTitleToHeadingBeforeTOC from './src/remark/admonition-title-to-heading-before-toc.js';\r\nimport admonitionTitleToHeadingAfterTOC from './src/rehype/admonition-title-to-heading-after-toc.js';\r\n// highlight-end\r\n\r\nexport default {\r\n // ...\r\n presets: [\r\n [\r\n 'classic',\r\n /** @type {import('@docusaurus/preset-classic').Options} */\r\n ({\r\n docs: {\r\n // ...\r\n // highlight-start\r\n beforeDefaultRemarkPlugins: [admonitionTitleToHeadingBeforeTOC],\r\n rehypePlugins: [admonitionTitleToHeadingAfterTOC],\r\n // highlight-end\r\n },\r\n blog: {\r\n // ...\r\n // highlight-start\r\n beforeDefaultRemarkPlugins: [admonitionTitleToHeadingBeforeTOC],\r\n rehypePlugins: [admonitionTitleToHeadingAfterTOC],\r\n // highlight-end\r\n },\r\n // ...\r\n }),\r\n ]],\r\n // ...\r\n}\n"})}),"\n",(0,r.jsx)(e.h3,{id:"remarkrehype\u30d7\u30e9\u30b0\u30a4\u30f3",children:"Remark/Rehype\u30d7\u30e9\u30b0\u30a4\u30f3"}),"\n",(0,r.jsx)(e.p,{children:"\u6b21\u306b\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.p,{children:"docusaurus\u306esrc\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\u306brehype\u3068remark\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u308a\u3001\u6b21\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u5185\u5bb9\u30672\u3064\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u308a\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-js",metastring:'title="src/rehype/admonition-title-to-heading-before-toc.js"',children:"import {visit} from 'unist-util-visit';\r\n\r\nconst plugin = (options) => {\r\n const transformer = async (ast) => {\r\n let newBeginningText = \"\";\r\n const visitor = ((node, index, parent) => {\r\n if (node.type === 'containerDirective') {\r\n // :::info\u306a\u3069\u306b\u7d9a\u304f\u30bf\u30a4\u30c8\u30eb\u5192\u982dText\u90e8\uff08\u5192\u982d#\u3092\u542b\u3080\uff08\u3082\u3057\u304f\u306f\u542b\u307e\u306a\u3044\uff09\u90e8\u5206\uff09\u3092\u53d6\u5f97\uff08:::info ##** \uff09\r\n // \uff08\u30bf\u30a4\u30c8\u30eb\u5168\u4f53\u306b\u306fHTML\u7b49\u304c\u542b\u307e\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u5192\u982dText\u90e8\u3060\u3051\u64cd\u4f5c\u3059\u308b\u3001\u6b8b\u308a\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\uff09\r\n const beginningText = node.children[0].children[0].value;\r\n\r\n // \u30bf\u30a4\u30c8\u30eb\u5192\u982dText\u90e8\u306b#\u304c2\u3064\u4ee5\u4e0a\u9023\u7d9a\u3057\u3066\u3044\u308b\u3068\u304d\r\n if(/^##/.test(beginningText)) {\r\n // \u30bf\u30a4\u30c8\u30eb\u5192\u982d\u90e8\u304b\u3089#\u3068\u305d\u308c\u306b\u7d9a\u304f\u7a7a\u767d\u3092\u524a\u9664\r\n newBeginningText = beginningText.replace(/^#+/, '').trim();\r\n\r\n // \u30bf\u30a4\u30c8\u30eb\u90e8\u5192\u982d\u3060\u3051\u66f4\u65b0\u3057\u3001\u6b8b\u308a\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\r\n // \u307e\u305a\u30bf\u30a4\u30c8\u30eb\u90e8\u5168\u4f53\u3092\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\r\n let titleNodes = [...node.children[0].children];\r\n\r\n // \u5192\u982d\u8981\u7d20\u306evalue\u3092\u66f4\u65b0\uff08\u307b\u304b\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\uff09\r\n const newTitleBeginningNode = {\r\n ...titleNodes[0],\r\n value: newBeginningText,\r\n }\r\n \r\n // \u30bf\u30a4\u30c8\u30eb\u30ce\u30fc\u30c9\u306e\u5192\u982d\u8981\u7d20\u3060\u3051\u66f4\u65b0\uff08\u307b\u304b\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\uff09\r\n const newTitleNodes = [ ...titleNodes ];\r\n newTitleNodes[0] = newTitleBeginningNode;\r\n\r\n // visit\u3057\u3066\u3044\u308bcontainerDirective\u306e\u524d\u306bheading\u30ce\u30fc\u30c9\u3092\u8ffd\u52a0\r\n parent.children.splice(index, 0, {\r\n type: 'heading',\r\n depth: (beginningText.match(/^##+/) || [''])[0].length, // #\u306e\u9023\u7d9a\u6570\u304cheading\u306e\u6df1\u3055\r\n children: newTitleNodes,\r\n });\r\n // \u6b21\u306b\u691c\u7d22\u3059\u308b\u306e\u306findex\u30922\u3064\u5206\u98db\u3070\u3057\u305f\u30ce\u30fc\u30c9\r\n return index + 2;\r\n }\r\n }\r\n });\r\n \r\n visit(ast, 'containerDirective', visitor);\r\n \r\n };\r\n return transformer;\r\n};\r\n\r\nexport default plugin;\n"})}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-js",metastring:'title="src/rehype/admonition-title-to-heading-after-toc.js"',children:"import {visit} from 'unist-util-visit';\r\n\r\nconst plugin = (options) => {\r\n const transformer = async (ast) => {\r\n let hId = null;\r\n let hContent = null;\r\n visit(ast, 'element', (node, index, parent) => {\r\n if (/^h[2-6]$/.test(node.tagName) && node.properties && node.properties.id) {\r\n // H\u8981\u7d20\uff08h2~h6\uff09\u3092\u898b\u3064\u3051\u305f\u5834\u5408\r\n \r\n // ID\u3068\u30bf\u30a4\u30c8\u30eb\u306e\u5192\u982dText\u90e8\u3092\u53d6\u5f97\u3059\u308b\r\n hId = node.properties.id;\r\n hContent = node.children ? node.children[0].value :\r\n node.children[0].children[0] ? node.children[0].children[0].value : '';\r\n\r\n // \u7d9a\u304fAdmonition\u3092\u63a2\u3059\uff08doc\u306fH\u8981\u7d20\u3068admonition\u304c\u9023\u7d9a\u3057\u3066\u3044\u308b\u304c\r\n // blog\u3067\u306f\u306a\u305c\u304b\u6539\u884c\u8981\u7d20{ type:'text', value:'\\n' }\u304c\u9593\u306b\u5165\u3063\u3066\u3044\u308b\u306e\u3067\u5ff5\u306e\u305f\u3081\u96a3\u63a53\u8981\u7d20\u3092\u63a2\u3059\r\n for (let i = index + 1; i < index + 4 && i < parent.children.length; i++) {\r\n if(parent.children[i] && parent.children[i].tagName === 'admonition') {\r\n // admonition\uff08div\uff09\u3092\u898b\u3064\u3051\u305f\u5834\u5408\r\n const admonitionNode = parent.children[i];\r\n \r\n // admonition\u30bf\u30a4\u30c8\u30eb\u306e\u5192\u982dText\u90e8\u5206\u3092\u53d6\u5f97\uff08properties.title\u3082\u3057\u304f\u306fchildren[0].children[0].value\uff09\r\n const admonitionNodeTitle = admonitionNode.properties.title ? admonitionNode.properties.title :\r\n admonitionNode.children[0] && admonitionNode.children[0].children[0] ? admonitionNode.children[0].children[0].value : '';\r\n\r\n if(/^##/.test(admonitionNodeTitle) && admonitionNodeTitle.replace(/^#+/, '').trim() === hContent.trim()) {\r\n // #\u3067\u59cb\u307e\u3063\u3066\u3044\u3066\u3001\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u90e8\u304c\u540c\u3058\u5834\u5408\r\n // div\u306eid\u3092H\u30bf\u30b0\u306eid\u306b\u8a2d\u5b9a\r\n admonitionNode.properties.id = hId;\r\n // H\u8981\u7d20\u3092\u524a\u9664\r\n parent.children.splice(index, 1);\r\n }\r\n }\r\n }\r\n }\r\n });\r\n };\r\n return transformer;\r\n};\r\n\r\nexport default plugin;\n"})}),"\n",(0,r.jsxs)(e.admonition,{title:"Admonition\u306e\u30c4\u30ea\u30fc\u69cb\u9020",type:"note",children:[(0,r.jsx)(e.p,{children:"\u53c2\u8003\u307e\u3067\u306b\u3001Remark\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u304b\u3089\u898b\u308b\u3068Admonition\u306eAST\u306f\u4f8b\u3048\u3070\u6b21\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002"}),(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-javascript",metastring:'title="Admonition\u306e\u30c4\u30ea\u30fc\u69cb\u9020\uff08\u4e00\u4f8b\uff09"',children:"{\r\n type: 'containerDirective',\r\n name: 'info',\r\n attributes: {},\r\n children: [\r\n {\r\n type: 'paragraph',\r\n data: { directiveLabel: true },\r\n children: [\r\n {\r\n type: 'text',\r\n value: '#### info title \u3082\u3057HTML\u7b49\u304c\u5165\u308b\u3068\uff08\u3053\u3053\u306ba\u30bf\u30b0\u3092\u5165\u308c\u308b\u3068\uff09',\r\n position: [Object]\r\n },\r\n {\r\n type: 'mdxJsxTextElement',\r\n name: 'a',\r\n attributes: [],\r\n position: [Object],\r\n data: [Object],\r\n children: [Array]\r\n },\r\n { type: 'text', value: '\u3053\u306e\u3088\u3046\u306b\u30bf\u30a4\u30c8\u30eb\u90e8\u304c\u5225\u3005\u306e\u8981\u7d20\u3068\u3057\u3066\u914d\u5217\u306b\u5165\u3063\u3066\u3044\u308b\u3002', position: [Object] }\r\n ],\r\n position: {\r\n start: { line: 1347, column: 8, offset: 34053 },\r\n end: { line: 1347, column: 55, offset: 34100 }\r\n }\r\n },\r\n { type: 'paragraph', children: [Array], position: [Object] },\r\n ...\r\n ],\r\n ...\r\n}\n"})})]}),"\n",(0,r.jsx)(e.h3,{id:"swizzling",children:"Swizzling"}),"\n",(0,r.jsx)(e.p,{children:"\u6b21\u306bSwizzling\u3067\u3059\u3002"}),"\n",(0,r.jsx)(e.p,{children:"Docusaurus\u306esrc/theme\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306bAdmonition\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u308a\u3001\u6b21\u306e\u4e00\u4f8b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u683c\u7d0d\u3057\u307e\u3059\u3002"}),"\n",(0,r.jsxs)(e.p,{children:["\u306a\u304a",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/swizzling#ejecting",children:"\u3053\u3053\u306b\u8aac\u660e\u304c\u3042\u308b\u901a\u308a"}),"Swizzling\u306b\u306fEjecting\u3068Wrapping\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002"]}),"\n",(0,r.jsx)(e.p,{children:"Wrapping\u3067\u306fAdmonition\u306e\u5185\u90e8\u307e\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u306a\u3044\u305f\u3081\u300c\u30bf\u30a4\u30c8\u30eb\u90e8\u5206\u306bid\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4ed8\u3051\u308b\u300d\u3068\u3044\u3063\u305f\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081Ejecting\u3092\u4f7f\u3044\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.admonition,{type:"note",children:(0,r.jsx)(e.p,{children:"Ejecting\u3092\u4f7f\u3046\u5834\u5408\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306b\u3088\u3063\u3066\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u6319\u52d5\u304c\u5909\u308f\u3063\u3066\u304f\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306e\u969b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002"})}),"\n",(0,r.jsx)(e.h4,{id:"ejecting",children:"Ejecting"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-bash",children:"npm run swizzle @docusaurus/theme-classic Admonition -- --eject\n"})}),"\n",(0,r.jsx)(e.p,{children:"Docusaurus V3.1\u3067\u306f\u6b21\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u307e\u3059\u306e\u3067\u3001YES\u3092\u9078\u3073\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-bash",children:"? Do you really want to swizzle this unsafe internal component? \xbb - Use arrow-keys. Return to submit.\r\n NO: cancel and stay safe\r\n> YES: I know what I am doing!\n"})}),"\n",(0,r.jsx)(e.p,{children:"Ejecting\u3092\u3059\u308b\u3068\u3001\u5b9f\u8cea\u7684\u306bnode_modules\u306e@docusaurus/theme-classic/lib/theme\u306b\u3042\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304csrc/theme\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3059\u3002"}),"\n",(0,r.jsx)(e.p,{children:"\u3042\u3068\u306f\u30b3\u30d4\u30fc\u3055\u308c\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u3044\u3058\u308b\u3060\u3051\u3067\u3059\u3002"}),"\n",(0,r.jsx)(e.h4,{id:"\u30b3\u30fc\u30c9\u306e\u5909\u66f4",children:"\u30b3\u30fc\u30c9\u306e\u5909\u66f4"}),"\n",(0,r.jsx)(e.p,{children:"Layout\u30d5\u30a1\u30a4\u30eb\u3092\u6b21\u306e\u3088\u3046\u306b\u5909\u66f4\u3059\u308b\u306e\u307f\u3067\u3059\u3002"}),"\n",(0,r.jsx)(e.pre,{children:(0,r.jsx)(e.code,{className:"language-js",metastring:'title="src/theme/Admonition/Layout/index.js"',children:"import React from 'react';\r\nimport clsx from 'clsx';\r\nimport {ThemeClassNames} from '@docusaurus/theme-common';\r\nimport styles from './styles.module.css';\r\n// highlight-next-line\r\nimport headingStyles from '@docusaurus/theme-classic/lib/theme/Heading/styles.module.css';\r\n\r\nfunction AdmonitionContainer({type, className, children}) {\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n}\r\n// highlight-start\r\nfunction AdmonitionHeading({icon, title, id}) {\r\n let depth = 0;\r\n let trimmedTitle = title;\r\n // title\u306bHTML\u7b49\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u6587\u5b57\u5217\u3067\u306f\u306a\u304f\u914d\u5217\u306b\u306a\u308b\r\n if(typeof title === \"string\") {\r\n // \u6587\u5b57\u5217\u5192\u982d\u306e#\u306e\u6570\u3092\u6570\u3048\u308b\uff08\r\n depth = title.match ? (title.toString().match(/^#+/) || [''])[0].length : 0;\r\n // #\u3092\u7701\u3044\u305f\u30bf\u30a4\u30c8\u30eb\u3092\u5f97\u308b\r\n trimmedTitle = depth > 0 ? title.replace(/^#+/, '').trim() : title;\r\n } else if (typeof title[0] === \"string\") {\r\n depth = title[0].match ? (title[0].match(/^#+/) || [''])[0].length : 0;\r\n trimmedTitle = depth > 0 ? [title[0].replace(/^#+/, '').trim(), ...title.slice(1)] : title;\r\n }\r\n\r\n // \u30b9\u30af\u30ed\u30fc\u30eb\u4f4d\u7f6e\u8abf\u6574\u306ecss\r\n const classNames = clsx(\"anchor\", \"title\", headingStyles.anchorWithStickyNavbar);\r\n // depth\u306b\u5fdc\u3058\u3066\u898b\u51fa\u3057\u30bf\u30b0\u3092\u30ec\u30f3\u30c0\u30fc\r\n return (\r\n
\r\n {icon}\r\n {(() => {\r\n if (depth == 3) {\r\n return(\r\n \r\n {trimmedTitle}\r\n \r\n )\r\n } else if (depth == 4) {\r\n return(\r\n \r\n {trimmedTitle}\r\n \r\n )\r\n } else if (depth == 5) {\r\n return(\r\n \r\n {trimmedTitle}\r\n \r\n )\r\n } else if (depth == 6) {\r\n return(\r\n \r\n {trimmedTitle}\r\n \r\n )\r\n } else {\r\n return(\r\n <>\r\n {trimmedTitle}\r\n \r\n )\r\n }\r\n })()}\r\n
\r\n );\r\n}\r\n// highlight-end\r\nfunction AdmonitionContent({children}) {\r\n return children ? (\r\n
{children}
\r\n ) : null;\r\n}\r\nexport default function AdmonitionLayout(props) {\r\n // highlight-next-line\r\n const {type, icon, title, children, className, id} = props;\r\n return (\r\n \r\n // highlight-next-line\r\n \r\n {children}\r\n \r\n );\r\n}\n"})}),"\n",(0,r.jsx)(e.p,{children:"\u4e0a\u8a18\u3092\u8a2d\u5b9a\u5f8c\u3001npm start\u7b49\u306e\u518d\u8d77\u52d5\u304c\u5fc5\u8981\u3067\u3059\u3002"}),"\n",(0,r.jsx)(e.p,{children:"\u4ee5\u4e0a\u3067\u3059\u3002"})]})}function h(n={}){const{wrapper:e}={...(0,t.a)(),...n.components};return e?(0,r.jsx)(e,{...n,children:(0,r.jsx)(c,{...n})}):c(n)}},73660:(n,e,i)=>{i.d(e,{Z:()=>r});const r=i.p+"assets/images/admonition-no-toc-98d7dfb77b6d769fe6815f0fb702575d.png"},11151:(n,e,i)=>{i.d(e,{Z:()=>d,a:()=>o});var r=i(67294);const t={},s=r.createContext(t);function o(n){const e=r.useContext(s);return r.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function d(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(t):n.components||t:o(n.components),r.createElement(s.Provider,{value:e},n.children)}}}]); \ No newline at end of file diff --git a/build/assets/js/e14e76e6.2f850287.js b/build/assets/js/e14e76e6.2f850287.js new file mode 100644 index 00000000..2865f9db --- /dev/null +++ b/build/assets/js/e14e76e6.2f850287.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[2717],{44168:n=>{n.exports=JSON.parse('{"blogPosts":[{"id":"/2024/01/27/docusaurus-admonition-heading-toc","metadata":{"permalink":"/docs/blog/2024/01/27/docusaurus-admonition-heading-toc","source":"@site/blog/2024/01/27/docusaurus-admonition-heading-toc/index.mdx","title":"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5","description":"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002","date":"2024-01-27T00:00:00.000Z","formattedDate":"2024\u5e741\u670827\u65e5","tags":[{"label":"\u6280\u8853","permalink":"/docs/blog/tags/\u6280\u8853"},{"label":"docusaurus","permalink":"/docs/blog/tags/docusaurus"},{"label":"v3.1","permalink":"/docs/blog/tags/v-3-1"}],"readingTime":16.75,"hasTruncateMarker":true,"authors":[{"name":"\u5b89\u7af9 \u6d0b\u5e73","title":"\u6771\u4eac\u90fd\u5c0f\u5e73\u5e02\u8b70\u4f1a\u8b70\u54e1","url":"https://yasutakeyohei.com","email":"yohei@yasutakeyohei.com","imageURL":"https://cgit.yasutakeyohei.com/yohei.jpg","key":"yohei"}],"frontMatter":{"title":"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5","description":"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002","authors":"yohei","tags":["\u6280\u8853","docusaurus","v3.1"],"hide_table_of_contents":false},"unlisted":false,"nextItem":{"title":"\u65b0\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u7acb\u3061\u4e0a\u3052\u307e\u3057\u305f","permalink":"/docs/blog/2024/01/26/new-flat-blog"}},"content":"## Docusaurus\ud83e\udd96\\r\\n\\r\\n1\u30f5\u6708\u5f31\u4f7f\u3044\u307e\u3057\u305f\u304c\u3053\u306e[Docusaurus](https://docusaurus.io/)\uff08\u30c9\u30ad\u30e5\u30b5\u30a6\u30eb\u30b9\uff09\u306f\u6570\u3042\u308bCMS\u306e\u4e2d\u3067\u3082\u79c0\u9038\u3067\u3059\u3002\\r\\n\\r\\n\u6587\u66f8\u4f5c\u6210\u3068\u7ba1\u7406\u304c\u5bb9\u6613\u3067\u3001\u62e1\u5f35\u306e\u81ea\u7531\u5ea6\u3082\u975e\u5e38\u306b\u9ad8\u304f\u3001\u5b8c\u5168\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3002\\r\\n\\r\\n\u8b70\u54e1\u6d3b\u52d5\u306b\u91cd\u8981\u306a\u300c**\u8cc7\u6599\u3092\u4f5c\u6210\u3057\u307e\u3068\u3081\u3066\u516c\u958b\u3059\u308b\u30c4\u30fc\u30eb**\u300d\u3068\u3057\u3066\u73fe\u72b6\u306e\u6700\u9069\u89e3\u3068\u611f\u3058\u307e\u3059\u3002\\r\\n\\r\\n{/* truncate */}\\r\\n\\r\\nfacebook\u304c\u6bcd\u4f53\u306a\u306e\u3067\u8272\u3005\u3068\u6c17\u306b\u306a\u308b\u3068\u3053\u308d\u3067\u3059\u304c\u3001[React](https://ja.legacy.reactjs.org/)\u3092\u521d\u3081\u3068\u3057\u3066\u6709\u76ca\u306a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u5b8c\u5168\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3068\u3057\u3066\u63d0\u4f9b\u3057\u3066\u304f\u308c\u3066\u3044\u308b\u3053\u3068\u306f\u7d14\u7c8b\u306b\u3042\u308a\u304c\u305f\u3044\u3068\u611f\u3058\u307e\u3059\u3002\\r\\n\\r\\n## Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u304c\u898b\u51fa\u3057\u306b\u306a\u3089\u306a\u3044\\r\\n\\r\\n\u3055\u3066Docusaurus\u306b\u306f[Admonition](https://docusaurus.io/docs/markdown-features/admonitions)\uff08\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff09\u3092\u5bb9\u6613\u306bmarkdown\u3067\u66f8\u304f\u65b9\u6cd5\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\\r\\n\\r\\n\u4f8b\u3048\u3070info\u306a\u3089\u3001\u6b21\u306e\u3088\u3046\u306bmarkdown\u3067\u66f8\u3051\u3070\u3001\\r\\n\\r\\n```mdx title=\\"Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09\\"\\r\\n:::info[info\u306e\u4f8b]\\r\\n\\r\\n\u3053\u3053\u306b\u6587\u7ae0\u3092\u66f8\u304f\\r\\n\\r\\n:::\\r\\n```\\r\\n\\r\\n\u6b21\u306e\u3088\u3046\u306bHTML\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002\\r\\n\\r\\n:::info info\u306e\u4f8b\\r\\n\\r\\n\u3053\u3053\u306b\u6587\u7ae0\u3092\u66f8\u304f\\r\\n\\r\\n:::\\r\\n\\r\\n\u3057\u304b\u3057\uff08DocusaurusV3.1\uff09\u3067\u3053\u306eAdmonition\u306e\u30bf\u30a4\u30c8\u30eb\u306f\u898b\u51fa\u3057\uff08[Heading](https://docusaurus.io/docs/markdown-features/toc)\uff09\u306b\u306a\u3089\u305a\u3001\u76ee\u6b21\uff08[TOC](https://docusaurus.io/docs/markdown-features/toc)\uff09\u306b\u3082\u4e57\u308a\u307e\u305b\u3093\u3002\u4e0a\u8a18\u4f8b\u306a\u3089\u300cINFO\u306e\u4f8b\u300d\u304cTOC\u306b\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002\\r\\n\\r\\n\\r\\n\u6b21\u306e\u56f3\u304b\u3089\u3082\u5206\u304b\u3063\u3066\u3044\u305f\u3060\u3051\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002\\r\\n\\r\\n![Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u304c\u898b\u51fa\u3057\u306b\u306a\u3089\u306a\u3044](admonition-no-toc.png)\\r\\n\\r\\n\u4e9b\u7d30\u306a\u3053\u3068\u306e\u3088\u3046\u306b\u3082\u601d\u3048\u307e\u3059\u304c\u3001Docusaurus\u3092\u66f8\u7c4d\u306e\u3088\u3046\u306b\u6271\u3046\u306b\u306f\u7d50\u69cb\u6c17\u306b\u306a\u308b\u3068\u3053\u308d\u3002\\r\\n\\r\\n\u306a\u304a[\u4ee5\u524d\u306fAdmonition\u306e\u30bf\u30a4\u30c8\u30eb\u306fH5\u8981\u7d20\u306b\u306a\u3063\u3066\u3044\u305f](https://github.com/elviswolcott/remark-admonitions/issues/26)\u3088\u3046\u3067\u3059\u304c\u3001\u6df1\u3055\uff08H1\uff5eH5\u306e\u30ec\u30d9\u30eb\uff09\u3092\u6c7a\u3081\u6253\u3061\u3059\u308b\u306e\u306f\u597d\u307e\u3057\u304f\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u304b\u3089\uff08\uff1f\uff09\u3001\u4eca\u306fH5\u8981\u7d20\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\\r\\n\\r\\n\u6b21\u306e\u3088\u3046\u306b\u672c\u6587\u4e2d\u306b\u898b\u51fa\u3057\u3092\u66f8\u304f\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u304c\\r\\n\\r\\n```mdx title=\\"Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09\\"\\r\\n:::info\\r\\n\\r\\n#### \u30c6\u30b9\u30c8\\r\\n\\r\\n\uff5e\u6587\u7ae0\uff5e\\r\\n\\r\\n:::\\r\\n```\\r\\n\u898b\u305f\u76ee\u304c\u30a4\u30de\u30a4\u30c1\u306b\u306a\u308a\u307e\u3059\u3002\\r\\n\\r\\n:::info\\r\\n\\r\\n#### \u30c6\u30b9\u30c8\\r\\n\\r\\n\uff5e\u6587\u7ae0\uff5e\\r\\n\\r\\n:::\\r\\n\\r\\n\\r\\n[\u307b\u304b\u306e\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306e\u8981\u671b](https://github.com/facebook/docusaurus/discussions/7146)\u3082\u4e0a\u304c\u3063\u3066\u304a\u308a\u3001\u79c1\u3082\u5c11\u3057\u4e0d\u4fbf\u306b\u611f\u3058\u3066\u3044\u305f\u306e\u3067\u3001\u6b21\u306e\u4ed5\u69d8\u306b\u306a\u308b\u3088\u3046\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u307e\u3057\u305f\u306e\u3067\u305d\u306e\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002\\r\\n\\r\\n## \u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5f8c\u306f\u3069\u3046\u306a\u308b\u304b\\r\\n\\r\\n\u5f8c\u8ff0\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u3059\u308b\u3068\u3001Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u90e8\u306b\uff08\u901a\u5e38\u306e\u898b\u51fa\u3057markdown\u3068\u540c\u69d8\u306b\uff09**#\u3092\u5192\u982d\u306b2\u500b\u4ee5\u4e0a\u5165\u308c\u308b** \u3053\u3068\u3067\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305fTOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002#\u30922\u500b\u4ee5\u4e0a\u3068\u3057\u3066\u3044\u308b\u306e\u306f\u3001H1\u3092Admonition\u306b\u306f\u4f7f\u308f\u306a\u3044\u306f\u305a\u306e\u305f\u3081\u3002\u307e\u305f#\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u306f\u898b\u51fa\u3057\u306b\u306a\u3089\u305a\u3001TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\u3002\\r\\n\\r\\n### \u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b#\u3092\u5165\u308c\u305f\u5834\u5408\\r\\n\\r\\n```mdx title=\\"Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09\\"\\r\\n:::info[#### \u898b\u51fa\u3057\u306b\u306a\u308aTOC\u306b\u53cd\u6620\u3055\u308c\u308b\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b]\\r\\n\\r\\n#\u304c4\u3064\u5206\u306e\u305f\u3081H4\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u3059\u3002TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002\\r\\n\\r\\n:::\\r\\n```\\r\\n\u2193\\r\\n\\r\\n:::info #### \u898b\u51fa\u3057\u306b\u306a\u308aTOC\u306b\u53cd\u6620\u3055\u308c\u308b\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b\\r\\n\\r\\n#\u304c4\u3064\u5206\u306e\u305f\u3081H4\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u3059\u3002TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002\\r\\n\\r\\n:::\\r\\n\\r\\n\u3053\u306e\u30d6\u30ed\u30b0\u3067\u3082TOC\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \\r\\n\u306a\u304a\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u3092\u4e57\u305b\u305f\u969b\u306b\u30cf\u30c3\u30b7\u30e5\u30ea\u30f3\u30af\uff08#\uff09\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306fCSS\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002\\r\\n\\r\\n### \u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b#\u3092\u5165\u308c\u306a\u3044\u5834\u5408\\r\\n\\r\\n```mdx title=\\"Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09\\"\\r\\n:::info \u898b\u51fa\u3057\u306b\u306a\u3089\u305aTOC\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b\\r\\n\\r\\n#\u304c\u306a\u3044\u305f\u3081\u898b\u51fa\u3057\u306b\u306a\u3089\u305a\u3001TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\u3002\\r\\n\\r\\n:::\\r\\n```\\r\\n\u2193\\r\\n:::info #### \u898b\u51fa\u3057\u306b\u306a\u3089\u305aTOC\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b\\r\\n\\r\\n#\u304c\u306a\u3044\u305f\u3081\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u305b\u3093\u3002\\r\\n\\r\\n:::\\r\\n\\r\\n### \u30bf\u30a4\u30c8\u30eb\u306bHTML\u3092\u5165\u308c\u308b\u3053\u3068\u3082\u53ef\u80fd\\r\\n\\r\\n\u306a\u304a\u30bf\u30a4\u30c8\u30eb\u90e8\u306bHTML\u3092\u5165\u308c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002\\r\\n\\r\\n:::info #### \u30c6\u30b9\u30c8123\u30c6\u30b9\u30c8\u4e0b\u7dda\\r\\n\\r\\n```\\r\\n\\r\\n\u30bf\u30a4\u30c8\u30eb\u90e8\u306emarkdown\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002\\r\\n\\r\\n#### \u30c6\u30b9\u30c8123\u30c6\u30b9\u30c8\u4e0b\u7dda\\r\\n\\r\\n```\\r\\n\\r\\n:::\\r\\n\\r\\n\\r\\n## \u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u5229\u7528\u3057\u305f\u6a5f\u80fd\\r\\n\\r\\n\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306f\u6b21\u306e\u6a5f\u80fd\u3092\u6d3b\u7528\u3057\u307e\u3057\u305f\u3002\\r\\n\\r\\n- [Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3](https://docusaurus.io/docs/markdown-features/plugins)\\r\\n- [Swizzling](https://docusaurus.io/docs/swizzling)\\r\\n\\r\\n### Remark\u3068Rehype\u306b\u3064\u3044\u3066\\r\\n\\r\\nRemark\u3068Rehype\u306f\u3001markdown\u3092HTML\u306b\u5909\u63db\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u306b\u304a\u3044\u3066\u3001AST\uff08\u62bd\u8c61\u69cb\u6587\u6728\u30fbAbstract Syntax Tree\uff09\u306b\u4f5c\u7528\u3059\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3059\u3002\u306a\u304a[AST\u3092\u64cd\u4f5c\u3059\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0](https://github.com/unifiedjs/unified)\u306e\u4e2d\u306b\u306f\u3082\u3046\u4e00\u3064[Retext](https://github.com/retextjs/retext)\u3068\u3044\u3046\u30d7\u30e9\u30b0\u30a4\u30f3\u3082\u3042\u308a\u307e\u3059\u304c\u3001Docusaurus\u306b\u306f\u5b9f\u88c5\u3055\u308c\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u3059\u3002\\r\\n\\r\\n```md title=\\"markdown\u304b\u3089HTML\u3078\u5909\u63db\u51e6\u7406\u306e\u6d41\u308c\\"\\r\\n| ........................ process ........................... |\\r\\n| .......... parse ... | ... run ... | ... stringify ..........|\\r\\n\\r\\n +--------+ +----------+\\r\\nInput ->- | Parser | ->- Syntax Tree ->- | Compiler | ->- Output\\r\\n +--------+ | +----------+\\r\\n X\\r\\n |\\r\\n +--------------+\\r\\n | Transformers |\\r\\n +--------------+\\r\\n```\\r\\n\\r\\n\u4e0a\u56f3\uff08[Unified Overview\u3088\u308a](https://github.com/unifiedjs/unified?tab=readme-ov-file#overview)\uff09\u306bTransformers\u3068\u3042\u308b\u3068\u3053\u308d\u304cRemark/Rehype\u306e\u52d5\u4f5c\u3059\u308b\u3068\u3053\u308d\u3002\\r\\n\\r\\nRemark\u306fmarkdown\u5f62\u5f0f\u3067\u3001Rehype\u306fHTML\u5f62\u5f0f\u3067AST\u3092\u6271\u3044\u307e\u3059\u3002\u3069\u3061\u3089\u3082\u540c\u3058\u3088\u3046\u306bAST\u3092\u64cd\u4f5c\u3067\u304d\u307e\u3059\u304c\u3001\u30c7\u30fc\u30bf\u69cb\u9020\u304c\u9055\u3046\u305f\u3081\u3001\u76ee\u7684\u306b\u5fdc\u3058\u3066\u9078\u629e\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u304b\u306a\u3068\u601d\u3044\u307e\u3059\u3002\\r\\n\\r\\n#### Docusaurus\u306b\u304a\u3051\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0\\r\\n\\r\\nDocusaurus\u3067\u3053\u308c\u3089\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306b\u306fdocusaurus.config.json\u306b\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002[\u3053\u306e\u30da\u30fc\u30b8\u306b\u3088\u308b\u3068](https://docusaurus.io/docs/markdown-features/plugins)\u6b21\u306e4\u7a2e\u985e\u306e\u8a2d\u5b9a\u5024\u306b\u3066\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u767b\u9332\u3067\u304d\u307e\u3059\u3002\\r\\n\\r\\n| | \u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u524d | \u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u5f8c |\\r\\n| -------------------- | --------------------------- | --------------------------- |\\r\\n| Remark
Markdown\u5f62\u5f0f | beforeDefaultRemarkPlugins | remarkPlugins |\\r\\n| Rehype
HTML\u5f62\u5f0f | beforeDefaultRehypePlugins | rehypePlugins |\\r\\n\\r\\nmarkdown\u304b\u3089HTML\u3078\u306e\u5909\u63db\u51e6\u7406\u306e\u3068\u3053\u308d\u3067\u3001Docusaurus\u306f\u81ea\u524d\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\uff09\u3092\u4f7f\u3044\u300c\u898b\u51fa\u3057\u306bid\u3092\u3064\u3051\u308b\u300d\u300cAST\u304b\u3089TOC\u3092\u4f5c\u6210\u3059\u308b\u300d\u306a\u3069\u306e\u51e6\u7406\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u4eca\u56de\u306e\u3088\u3046\u306b\u300cAmonition\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u8aad\u3093\u3067TOC\u306b\u53cd\u6620\u3059\u308b\u300d\u305f\u3081\u306b\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u524d\u3068\u9069\u7528\u5f8c\u306e\u4e21\u65b9\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u306e\u51e6\u7406\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\\r\\n\\r\\n\\r\\n### Swizzling\u306b\u3064\u3044\u3066\\r\\n\\r\\nSwizzling\u306f[\u3053\u3061\u3089](https://docusaurus.io/docs/swizzling)\u306b\u8aac\u660e\u304c\u3042\u308b\u901a\u308a\u306e\u6a5f\u80fd\u3067\u3001\u7c21\u5358\u306b\u8a00\u3046\u3068React\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u6a5f\u80fd\u3067\u3059\u3002\\r\\n\\r\\nSwizzling\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3068\u3001Docusaurus\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4ee3\u308f\u308a\u306b\u81ea\u52d5\u7684\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\\r\\n\\r\\n\u4eca\u56de\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eAdmonition\u306b\u306a\u3044ID\u5c5e\u6027\u3092\u6301\u305f\u305b\u308b\u305f\u3081Admonition\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u307e\u3057\u305f\u3002Swizzling\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eAdmonition\u306e\u4ee3\u308f\u308a\u306b\u3053\u306e\u30ab\u30b9\u30bf\u30e0\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u4f7f\u308f\u308c\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\\r\\n\\r\\n## \u52d5\u4f5c\u539f\u7406\\r\\n\\r\\nTOC\u306f\u300cAST\u306b\u542b\u307e\u308c\u3066\u3044\u308bheading\u8981\u7d20\u3092\u5358\u7d14\u306b\u914d\u5217\u306b\u5165\u308c\u3066\u3044\u308b\u300d\u3060\u3051\u3067\u3059\u304c\u3001\u3053\u306e\u51e6\u7406\u306f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u4e0a\u66f8\u304d\u3067\u304d\u307e\u305b\u3093\u3002\u305d\u3053\u3067\u3001\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u51e6\u7406\u3060\u3051\u3067Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u3092TOC\u306b\u53cd\u6620\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u6b21\u3092\u601d\u3044\u3064\u304d\u3001\u5b9f\u88c5\u3057\u307e\u3057\u305f\u3002\\r\\n\\r\\n1. docusaurus\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u304cTOC\u306e\u51e6\u7406\u3092\u884c\u3046\u3088\u308a\u524d\u306b\u3001Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u90e8\u3092\u898b\u51fa\u3057\u3068\u3057\u3066\u65b0\u898f\u4f5c\u6210\u3057\u3001Admonition\u8981\u7d20\u306e\u76f4\u524d\u306b\u8ffd\u52a0\u3059\u308b\\r\\n1. docusaurus\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u304cTOC\u306e\u51e6\u7406\u3092\u884c\u3044\u3001Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u90e8\u304cTOC\u306b\u5165\u308b\u3002\u898b\u51fa\u3057\u306b\u306fid\u304c\u4ed8\u4e0e\u3055\u308c\u308b\\r\\n1. \u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u51e6\u7406\u304c\u7d42\u4e86\u3057\u305f\u3089\u4f5c\u6210\u3057\u305f\u898b\u51fa\u3057\u306f\u4e0d\u8981\u306b\u306a\u308b\u306e\u3067\u524a\u9664\u3059\u308b\u3002\u305d\u306e\u969b\u3001\u524a\u9664\u3059\u308b\u898b\u51fa\u3057\u3068\u540c\u3058\u30bf\u30a4\u30c8\u30eb\u3092\u6301\u3064Admonition\u8981\u7d20\u3092\u63a2\u3057\u3001id\u3092\u4e0e\u3048\u308b\\r\\n1. Admonition\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067id\u3092HTML\u30bf\u30b0\u306b\u4ed8\u4e0e\u3059\u308b\\r\\n\\r\\n\\r\\n\\r\\n## \u5b9f\u88c5\\r\\n\\r\\n### docusaurus.config.json\\r\\n\\r\\n\u307e\u305adocusaurus.config.json\u306bimport\u3068plugin\u8a2d\u5b9a\u3092\u8a18\u5165\u3057\u307e\u3059\uff08\u30cf\u30a4\u30e9\u30a4\u30c8\u90e8\uff09\u3002\\r\\n\\r\\n\u3053\u308c\u3067Docusaurus\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u306e\u524d\u5f8c\u306b\u305d\u308c\u305e\u308c\u81ea\u4f5c\u306eRemark/Rehype\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\\r\\n\\r\\nblog\u306a\u3069\u3092\u5165\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u305d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u3082\u8a18\u8f09\u3057\u307e\u3059\u3002\\r\\n\\r\\n```js title=\\"docusaurus.config.json\\"\\r\\n// highlight-start\\r\\nimport admonitionTitleToHeadingBeforeTOC from \'./src/remark/admonition-title-to-heading-before-toc.js\';\\r\\nimport admonitionTitleToHeadingAfterTOC from \'./src/rehype/admonition-title-to-heading-after-toc.js\';\\r\\n// highlight-end\\r\\n\\r\\nexport default {\\r\\n // ...\\r\\n presets: [\\r\\n [\\r\\n \'classic\',\\r\\n /** @type {import(\'@docusaurus/preset-classic\').Options} */\\r\\n ({\\r\\n docs: {\\r\\n // ...\\r\\n // highlight-start\\r\\n beforeDefaultRemarkPlugins: [admonitionTitleToHeadingBeforeTOC],\\r\\n rehypePlugins: [admonitionTitleToHeadingAfterTOC],\\r\\n // highlight-end\\r\\n },\\r\\n blog: {\\r\\n // ...\\r\\n // highlight-start\\r\\n beforeDefaultRemarkPlugins: [admonitionTitleToHeadingBeforeTOC],\\r\\n rehypePlugins: [admonitionTitleToHeadingAfterTOC],\\r\\n // highlight-end\\r\\n },\\r\\n // ...\\r\\n }),\\r\\n ]],\\r\\n // ...\\r\\n}\\r\\n```\\r\\n\\r\\n### Remark/Rehype\u30d7\u30e9\u30b0\u30a4\u30f3\\r\\n\\r\\n\u6b21\u306b\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002\\r\\n\\r\\ndocusaurus\u306esrc\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\u306brehype\u3068remark\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u308a\u3001\u6b21\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u5185\u5bb9\u30672\u3064\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u308a\u307e\u3059\u3002\\r\\n\\r\\n```js title=\\"src/rehype/admonition-title-to-heading-before-toc.js\\"\\r\\nimport {visit} from \'unist-util-visit\';\\r\\n\\r\\nconst plugin = (options) => {\\r\\n const transformer = async (ast) => {\\r\\n let newBeginningText = \\"\\";\\r\\n const visitor = ((node, index, parent) => {\\r\\n if (node.type === \'containerDirective\') {\\r\\n // :::info\u306a\u3069\u306b\u7d9a\u304f\u30bf\u30a4\u30c8\u30eb\u5192\u982dText\u90e8\uff08\u5192\u982d#\u3092\u542b\u3080\uff08\u3082\u3057\u304f\u306f\u542b\u307e\u306a\u3044\uff09\u90e8\u5206\uff09\u3092\u53d6\u5f97\uff08:::info ##** \uff09\\r\\n // \uff08\u30bf\u30a4\u30c8\u30eb\u5168\u4f53\u306b\u306fHTML\u7b49\u304c\u542b\u307e\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u5192\u982dText\u90e8\u3060\u3051\u64cd\u4f5c\u3059\u308b\u3001\u6b8b\u308a\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\uff09\\r\\n const beginningText = node.children[0].children[0].value;\\r\\n\\r\\n // \u30bf\u30a4\u30c8\u30eb\u5192\u982dText\u90e8\u306b#\u304c2\u3064\u4ee5\u4e0a\u9023\u7d9a\u3057\u3066\u3044\u308b\u3068\u304d\\r\\n if(/^##/.test(beginningText)) {\\r\\n // \u30bf\u30a4\u30c8\u30eb\u5192\u982d\u90e8\u304b\u3089#\u3068\u305d\u308c\u306b\u7d9a\u304f\u7a7a\u767d\u3092\u524a\u9664\\r\\n newBeginningText = beginningText.replace(/^#+/, \'\').trim();\\r\\n\\r\\n // \u30bf\u30a4\u30c8\u30eb\u90e8\u5192\u982d\u3060\u3051\u66f4\u65b0\u3057\u3001\u6b8b\u308a\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\\r\\n // \u307e\u305a\u30bf\u30a4\u30c8\u30eb\u90e8\u5168\u4f53\u3092\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\\r\\n let titleNodes = [...node.children[0].children];\\r\\n\\r\\n // \u5192\u982d\u8981\u7d20\u306evalue\u3092\u66f4\u65b0\uff08\u307b\u304b\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\uff09\\r\\n const newTitleBeginningNode = {\\r\\n ...titleNodes[0],\\r\\n value: newBeginningText,\\r\\n }\\r\\n \\r\\n // \u30bf\u30a4\u30c8\u30eb\u30ce\u30fc\u30c9\u306e\u5192\u982d\u8981\u7d20\u3060\u3051\u66f4\u65b0\uff08\u307b\u304b\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\uff09\\r\\n const newTitleNodes = [ ...titleNodes ];\\r\\n newTitleNodes[0] = newTitleBeginningNode;\\r\\n\\r\\n // visit\u3057\u3066\u3044\u308bcontainerDirective\u306e\u524d\u306bheading\u30ce\u30fc\u30c9\u3092\u8ffd\u52a0\\r\\n parent.children.splice(index, 0, {\\r\\n type: \'heading\',\\r\\n depth: (beginningText.match(/^##+/) || [\'\'])[0].length, // #\u306e\u9023\u7d9a\u6570\u304cheading\u306e\u6df1\u3055\\r\\n children: newTitleNodes,\\r\\n });\\r\\n // \u6b21\u306b\u691c\u7d22\u3059\u308b\u306e\u306findex\u30922\u3064\u5206\u98db\u3070\u3057\u305f\u30ce\u30fc\u30c9\\r\\n return index + 2;\\r\\n }\\r\\n }\\r\\n });\\r\\n \\r\\n visit(ast, \'containerDirective\', visitor);\\r\\n \\r\\n };\\r\\n return transformer;\\r\\n};\\r\\n\\r\\nexport default plugin;\\r\\n```\\r\\n\\r\\n```js title=\\"src/rehype/admonition-title-to-heading-after-toc.js\\"\\r\\nimport {visit} from \'unist-util-visit\';\\r\\n\\r\\nconst plugin = (options) => {\\r\\n const transformer = async (ast) => {\\r\\n let hId = null;\\r\\n let hContent = null;\\r\\n visit(ast, \'element\', (node, index, parent) => {\\r\\n if (/^h[2-6]$/.test(node.tagName) && node.properties && node.properties.id) {\\r\\n // H\u8981\u7d20\uff08h2~h6\uff09\u3092\u898b\u3064\u3051\u305f\u5834\u5408\\r\\n \\r\\n // ID\u3068\u30bf\u30a4\u30c8\u30eb\u306e\u5192\u982dText\u90e8\u3092\u53d6\u5f97\u3059\u308b\\r\\n hId = node.properties.id;\\r\\n hContent = node.children ? node.children[0].value :\\r\\n node.children[0].children[0] ? node.children[0].children[0].value : \'\';\\r\\n\\r\\n // \u7d9a\u304fAdmonition\u3092\u63a2\u3059\uff08doc\u306fH\u8981\u7d20\u3068admonition\u304c\u9023\u7d9a\u3057\u3066\u3044\u308b\u304c\\r\\n // blog\u3067\u306f\u306a\u305c\u304b\u6539\u884c\u8981\u7d20{ type:\'text\', value:\'\\\\n\' }\u304c\u9593\u306b\u5165\u3063\u3066\u3044\u308b\u306e\u3067\u5ff5\u306e\u305f\u3081\u96a3\u63a53\u8981\u7d20\u3092\u63a2\u3059\\r\\n for (let i = index + 1; i < index + 4 && i < parent.children.length; i++) {\\r\\n if(parent.children[i] && parent.children[i].tagName === \'admonition\') {\\r\\n // admonition\uff08div\uff09\u3092\u898b\u3064\u3051\u305f\u5834\u5408\\r\\n const admonitionNode = parent.children[i];\\r\\n \\r\\n // admonition\u30bf\u30a4\u30c8\u30eb\u306e\u5192\u982dText\u90e8\u5206\u3092\u53d6\u5f97\uff08properties.title\u3082\u3057\u304f\u306fchildren[0].children[0].value\uff09\\r\\n const admonitionNodeTitle = admonitionNode.properties.title ? admonitionNode.properties.title :\\r\\n admonitionNode.children[0] && admonitionNode.children[0].children[0] ? admonitionNode.children[0].children[0].value : \'\';\\r\\n\\r\\n if(/^##/.test(admonitionNodeTitle) && admonitionNodeTitle.replace(/^#+/, \'\').trim() === hContent.trim()) {\\r\\n // #\u3067\u59cb\u307e\u3063\u3066\u3044\u3066\u3001\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u90e8\u304c\u540c\u3058\u5834\u5408\\r\\n // div\u306eid\u3092H\u30bf\u30b0\u306eid\u306b\u8a2d\u5b9a\\r\\n admonitionNode.properties.id = hId;\\r\\n // H\u8981\u7d20\u3092\u524a\u9664\\r\\n parent.children.splice(index, 1);\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n });\\r\\n };\\r\\n return transformer;\\r\\n};\\r\\n\\r\\nexport default plugin;\\r\\n```\\r\\n\\r\\n:::note Admonition\u306e\u30c4\u30ea\u30fc\u69cb\u9020\\r\\n\\r\\n\u53c2\u8003\u307e\u3067\u306b\u3001Remark\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u304b\u3089\u898b\u308b\u3068Admonition\u306eAST\u306f\u4f8b\u3048\u3070\u6b21\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\\r\\n\\r\\n```javascript title=\\"Admonition\u306e\u30c4\u30ea\u30fc\u69cb\u9020\uff08\u4e00\u4f8b\uff09\\"\\r\\n{\\r\\n type: \'containerDirective\',\\r\\n name: \'info\',\\r\\n attributes: {},\\r\\n children: [\\r\\n {\\r\\n type: \'paragraph\',\\r\\n data: { directiveLabel: true },\\r\\n children: [\\r\\n {\\r\\n type: \'text\',\\r\\n value: \'#### info title \u3082\u3057HTML\u7b49\u304c\u5165\u308b\u3068\uff08\u3053\u3053\u306ba\u30bf\u30b0\u3092\u5165\u308c\u308b\u3068\uff09\',\\r\\n position: [Object]\\r\\n },\\r\\n {\\r\\n type: \'mdxJsxTextElement\',\\r\\n name: \'a\',\\r\\n attributes: [],\\r\\n position: [Object],\\r\\n data: [Object],\\r\\n children: [Array]\\r\\n },\\r\\n { type: \'text\', value: \'\u3053\u306e\u3088\u3046\u306b\u30bf\u30a4\u30c8\u30eb\u90e8\u304c\u5225\u3005\u306e\u8981\u7d20\u3068\u3057\u3066\u914d\u5217\u306b\u5165\u3063\u3066\u3044\u308b\u3002\', position: [Object] }\\r\\n ],\\r\\n position: {\\r\\n start: { line: 1347, column: 8, offset: 34053 },\\r\\n end: { line: 1347, column: 55, offset: 34100 }\\r\\n }\\r\\n },\\r\\n { type: \'paragraph\', children: [Array], position: [Object] },\\r\\n ...\\r\\n ],\\r\\n ...\\r\\n}\\r\\n```\\r\\n:::\\r\\n\\r\\n### Swizzling\\r\\n\\r\\n\u6b21\u306bSwizzling\u3067\u3059\u3002\\r\\n\\r\\nDocusaurus\u306esrc/theme\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306bAdmonition\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u308a\u3001\u6b21\u306e\u4e00\u4f8b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u683c\u7d0d\u3057\u307e\u3059\u3002\\r\\n\\r\\n\u306a\u304a[\u3053\u3053\u306b\u8aac\u660e\u304c\u3042\u308b\u901a\u308a](https://docusaurus.io/docs/swizzling#ejecting)Swizzling\u306b\u306fEjecting\u3068Wrapping\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\\r\\n\\r\\nWrapping\u3067\u306fAdmonition\u306e\u5185\u90e8\u307e\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u306a\u3044\u305f\u3081\u300c\u30bf\u30a4\u30c8\u30eb\u90e8\u5206\u306bid\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4ed8\u3051\u308b\u300d\u3068\u3044\u3063\u305f\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081Ejecting\u3092\u4f7f\u3044\u307e\u3059\u3002\\r\\n\\r\\n:::note\\r\\n\\r\\nEjecting\u3092\u4f7f\u3046\u5834\u5408\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306b\u3088\u3063\u3066\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u6319\u52d5\u304c\u5909\u308f\u3063\u3066\u304f\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306e\u969b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002\\r\\n\\r\\n:::\\r\\n\\r\\n#### Ejecting\\r\\n\\r\\n```bash\\r\\nnpm run swizzle @docusaurus/theme-classic Admonition -- --eject\\r\\n```\\r\\n\\r\\nDocusaurus V3.1\u3067\u306f\u6b21\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u307e\u3059\u306e\u3067\u3001YES\u3092\u9078\u3073\u307e\u3059\u3002\\r\\n```bash\\r\\n? Do you really want to swizzle this unsafe internal component? \xbb - Use arrow-keys. Return to submit.\\r\\n NO: cancel and stay safe\\r\\n> YES: I know what I am doing!\\r\\n```\\r\\n\\r\\nEjecting\u3092\u3059\u308b\u3068\u3001\u5b9f\u8cea\u7684\u306bnode_modules\u306e@docusaurus/theme-classic/lib/theme\u306b\u3042\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304csrc/theme\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3059\u3002\\r\\n\\r\\n\u3042\u3068\u306f\u30b3\u30d4\u30fc\u3055\u308c\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u3044\u3058\u308b\u3060\u3051\u3067\u3059\u3002\\r\\n\\r\\n#### \u30b3\u30fc\u30c9\u306e\u5909\u66f4\\r\\n\\r\\nLayout\u30d5\u30a1\u30a4\u30eb\u3092\u6b21\u306e\u3088\u3046\u306b\u5909\u66f4\u3059\u308b\u306e\u307f\u3067\u3059\u3002\\r\\n\\r\\n```js title=\\"src/theme/Admonition/Layout/index.js\\"\\r\\nimport React from \'react\';\\r\\nimport clsx from \'clsx\';\\r\\nimport {ThemeClassNames} from \'@docusaurus/theme-common\';\\r\\nimport styles from \'./styles.module.css\';\\r\\n// highlight-next-line\\r\\nimport headingStyles from \'@docusaurus/theme-classic/lib/theme/Heading/styles.module.css\';\\r\\n\\r\\nfunction AdmonitionContainer({type, className, children}) {\\r\\n return (\\r\\n \\r\\n {children}\\r\\n \\r\\n );\\r\\n}\\r\\n// highlight-start\\r\\nfunction AdmonitionHeading({icon, title, id}) {\\r\\n let depth = 0;\\r\\n let trimmedTitle = title;\\r\\n // title\u306bHTML\u7b49\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u6587\u5b57\u5217\u3067\u306f\u306a\u304f\u914d\u5217\u306b\u306a\u308b\\r\\n if(typeof title === \\"string\\") {\\r\\n // \u6587\u5b57\u5217\u5192\u982d\u306e#\u306e\u6570\u3092\u6570\u3048\u308b\uff08\\r\\n depth = title.match ? (title.toString().match(/^#+/) || [\'\'])[0].length : 0;\\r\\n // #\u3092\u7701\u3044\u305f\u30bf\u30a4\u30c8\u30eb\u3092\u5f97\u308b\\r\\n trimmedTitle = depth > 0 ? title.replace(/^#+/, \'\').trim() : title;\\r\\n } else if (typeof title[0] === \\"string\\") {\\r\\n depth = title[0].match ? (title[0].match(/^#+/) || [\'\'])[0].length : 0;\\r\\n trimmedTitle = depth > 0 ? [title[0].replace(/^#+/, \'\').trim(), ...title.slice(1)] : title;\\r\\n }\\r\\n\\r\\n // \u30b9\u30af\u30ed\u30fc\u30eb\u4f4d\u7f6e\u8abf\u6574\u306ecss\\r\\n const classNames = clsx(\\"anchor\\", \\"title\\", headingStyles.anchorWithStickyNavbar);\\r\\n // depth\u306b\u5fdc\u3058\u3066\u898b\u51fa\u3057\u30bf\u30b0\u3092\u30ec\u30f3\u30c0\u30fc\\r\\n return (\\r\\n
\\r\\n {icon}\\r\\n {(() => {\\r\\n if (depth == 3) {\\r\\n return(\\r\\n \\r\\n {trimmedTitle}\\r\\n \\r\\n )\\r\\n } else if (depth == 4) {\\r\\n return(\\r\\n \\r\\n {trimmedTitle}\\r\\n \\r\\n )\\r\\n } else if (depth == 5) {\\r\\n return(\\r\\n \\r\\n {trimmedTitle}\\r\\n \\r\\n )\\r\\n } else if (depth == 6) {\\r\\n return(\\r\\n \\r\\n {trimmedTitle}\\r\\n \\r\\n )\\r\\n } else {\\r\\n return(\\r\\n <>\\r\\n {trimmedTitle}\\r\\n \\r\\n )\\r\\n }\\r\\n })()}\\r\\n
\\r\\n );\\r\\n}\\r\\n// highlight-end\\r\\nfunction AdmonitionContent({children}) {\\r\\n return children ? (\\r\\n
{children}
\\r\\n ) : null;\\r\\n}\\r\\nexport default function AdmonitionLayout(props) {\\r\\n // highlight-next-line\\r\\n const {type, icon, title, children, className, id} = props;\\r\\n return (\\r\\n \\r\\n // highlight-next-line\\r\\n \\r\\n {children}\\r\\n \\r\\n );\\r\\n}\\r\\n```\\r\\n\\r\\n\u4e0a\u8a18\u3092\u8a2d\u5b9a\u5f8c\u3001npm start\u7b49\u306e\u518d\u8d77\u52d5\u304c\u5fc5\u8981\u3067\u3059\u3002\\r\\n\\r\\n\u4ee5\u4e0a\u3067\u3059\u3002"},{"id":"/2024/01/26/new-flat-blog","metadata":{"permalink":"/docs/blog/2024/01/26/new-flat-blog","source":"@site/blog/2024/01/26/new-flat-blog/index.mdx","title":"\u65b0\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u7acb\u3061\u4e0a\u3052\u307e\u3057\u305f","description":"\u65b0\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u7acb\u3061\u4e0a\u3052\u307e\u3057\u305f\u3002\u8b70\u54e1\u6d3b\u52d5\u3084\u305d\u306e\u88cf\u3067\u6d3b\u7528\u3057\u3066\u3044\u308b\u6280\u8853\u306b\u3064\u3044\u3066\u3001\u8ab0\u304b\u306e\u5f79\u306b\u7acb\u3064\u304b\u3082\u3057\u308c\u306a\u3044\u3053\u3068\u3092\u4e2d\u5fc3\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002","date":"2024-01-26T00:00:00.000Z","formattedDate":"2024\u5e741\u670826\u65e5","tags":[{"label":"\u304a\u77e5\u3089\u305b","permalink":"/docs/blog/tags/\u304a\u77e5\u3089\u305b"},{"label":"docusaurus","permalink":"/docs/blog/tags/docusaurus"}],"readingTime":0.56,"hasTruncateMarker":false,"authors":[{"name":"\u5b89\u7af9 \u6d0b\u5e73","title":"\u6771\u4eac\u90fd\u5c0f\u5e73\u5e02\u8b70\u4f1a\u8b70\u54e1","url":"https://yasutakeyohei.com","email":"yohei@yasutakeyohei.com","imageURL":"https://cgit.yasutakeyohei.com/yohei.jpg","key":"yohei"}],"frontMatter":{"title":"\u65b0\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u7acb\u3061\u4e0a\u3052\u307e\u3057\u305f","description":"\u65b0\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u7acb\u3061\u4e0a\u3052\u307e\u3057\u305f\u3002\u8b70\u54e1\u6d3b\u52d5\u3084\u305d\u306e\u88cf\u3067\u6d3b\u7528\u3057\u3066\u3044\u308b\u6280\u8853\u306b\u3064\u3044\u3066\u3001\u8ab0\u304b\u306e\u5f79\u306b\u7acb\u3064\u304b\u3082\u3057\u308c\u306a\u3044\u3053\u3068\u3092\u4e2d\u5fc3\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002","authors":"yohei","tags":["\u304a\u77e5\u3089\u305b","docusaurus"],"hide_table_of_contents":false},"unlisted":false,"prevItem":{"title":"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5","permalink":"/docs/blog/2024/01/27/docusaurus-admonition-heading-toc"}},"content":"\u4eca\u5f8c\u306e\u5c55\u958b\u3092\u8003\u3048\u3001\u3053\u308c\u307e\u3067\u306e\u8b70\u4f1a\u6d3b\u52d5\u7b49\u306e\u307e\u3068\u3081\u3092\u3053\u306eDocusaurus\u306e\u4ed5\u7d44\u307f\u306b\u79fb\u884c\u3057\u3066\u3044\u307e\u3059\u3002\\r\\n\\r\\n\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u3082\u3053\u3061\u3089\u306b\u65b0\u3057\u304f\u7acb\u3061\u4e0a\u3052\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\\r\\n\\r\\n\u8b70\u54e1\u6d3b\u52d5\u3084\u3001\u305d\u306e\u88cf\u3067\u6d3b\u7528\u3057\u3066\u3044\u308b\u6280\u8853\u306b\u3064\u3044\u3066\u3001\u8ab0\u304b\u306e\u5f79\u306b\u7acb\u3064\u304b\u3082\u3057\u308c\u306a\u3044\u3053\u3068\u3092\u4e2d\u5fc3\u306b\u30d6\u30ed\u30b0\u306b\u3057\u3066\u3044\u304d\u307e\u3059\ud83d\ude01"}]}')}}]); \ No newline at end of file diff --git a/build/assets/js/e14e76e6.8bef8ca0.js b/build/assets/js/e14e76e6.8bef8ca0.js deleted file mode 100644 index 458288f9..00000000 --- a/build/assets/js/e14e76e6.8bef8ca0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[2717],{44168:n=>{n.exports=JSON.parse('{"blogPosts":[{"id":"/2024/01/27/docusaurus-admonition-heading-toc","metadata":{"permalink":"/docs/blog/2024/01/27/docusaurus-admonition-heading-toc","source":"@site/blog/2024/01/27/docusaurus-admonition-heading-toc/index.mdx","title":"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5","description":"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002","date":"2024-01-27T00:00:00.000Z","formattedDate":"2024\u5e741\u670827\u65e5","tags":[{"label":"\u6280\u8853","permalink":"/docs/blog/tags/\u6280\u8853"},{"label":"docusaurus","permalink":"/docs/blog/tags/docusaurus"},{"label":"v3.1","permalink":"/docs/blog/tags/v-3-1"}],"readingTime":16.795,"hasTruncateMarker":true,"authors":[{"name":"\u5b89\u7af9 \u6d0b\u5e73","title":"\u6771\u4eac\u90fd\u5c0f\u5e73\u5e02\u8b70\u4f1a\u8b70\u54e1","url":"https://yasutakeyohei.com","email":"yohei@yasutakeyohei.com","imageURL":"https://cgit.yasutakeyohei.com/yohei.jpg","key":"yohei"}],"frontMatter":{"title":"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5","description":"Docusaurus\uff08V3.1\uff09\u3067\u306f\u3001\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff08Admonition\uff09\u306f\u898b\u51fa\u3057\uff08Heading\uff09\u306b\u306f\u306a\u3089\u305a\u76ee\u6b21\u306b\u3082\u63b2\u8f09\u3055\u308c\u306a\u3044\u306e\u3067\u3001Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068Swizzle\u3092\u6d3b\u7528\u3057\u3066\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002","authors":"yohei","tags":["\u6280\u8853","docusaurus","v3.1"],"hide_table_of_contents":false},"unlisted":false,"nextItem":{"title":"\u65b0\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u7acb\u3061\u4e0a\u3052\u307e\u3057\u305f","permalink":"/docs/blog/2024/01/26/new-flat-blog"}},"content":"## Docusaurus\u306f\u30b9\u30b4\u30a4\u306d\ud83e\udd96\\r\\n\\r\\n1\u30f5\u6708\u5f31\u4f7f\u3044\u307e\u3057\u305f\u304c\u3001\u3053\u306e[Docusaurus](https://docusaurus.io/)\uff08\u30c9\u30ad\u30e5\u30b5\u30a6\u30eb\u30b9\uff09\u306f\u6570\u3042\u308bCMS\u306e\u4e2d\u3067\u3082\u79c0\u9038\u3067\u3059\u3002\\r\\n\\r\\n\u6587\u66f8\u4f5c\u6210\u3068\u7ba1\u7406\u304c\u5bb9\u6613\u3067\u3001\u62e1\u5f35\u306e\u81ea\u7531\u5ea6\u3082\u975e\u5e38\u306b\u9ad8\u304f\u3001\u5b8c\u5168\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3002\\r\\n\\r\\n\u8b70\u54e1\u6d3b\u52d5\u306b\u91cd\u8981\u306a\u300c**\u8cc7\u6599\u3092\u4f5c\u6210\u3057\u307e\u3068\u3081\u3066\u516c\u958b\u3059\u308b\u30c4\u30fc\u30eb**\u300d\u3068\u3057\u3066\u73fe\u72b6\u306e\u6700\u9069\u89e3\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\\r\\n\\r\\n{/* truncate */}\\r\\n\\r\\nfacebook\u304c\u6bcd\u4f53\u306a\u306e\u3067\u8272\u3005\u3068\u6c17\u306b\u306a\u308b\u3068\u3053\u308d\u3067\u3059\u304c\u3001[React](https://ja.legacy.reactjs.org/)\u3092\u521d\u3081\u3068\u3057\u3066\u6709\u76ca\u306a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u5b8c\u5168\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3068\u3057\u3066\u63d0\u4f9b\u3057\u3066\u304f\u308c\u3066\u3044\u308b\u3053\u3068\u306f\u7d14\u7c8b\u306b\u3042\u308a\u304c\u305f\u3044\u3068\u611f\u3058\u307e\u3059\u3002\\r\\n\\r\\n## Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u304c\u898b\u51fa\u3057\u306b\u306a\u3089\u306a\u3044\\r\\n\\r\\n\u3055\u3066Docusaurus\u306b\u306f[Admonition](https://docusaurus.io/docs/markdown-features/admonitions)\uff08\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\uff09\u3092\u5bb9\u6613\u306bmarkdown\u3067\u66f8\u304f\u65b9\u6cd5\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\\r\\n\\r\\n\u4f8b\u3048\u3070info\u306a\u3089\u3001\u6b21\u306e\u3088\u3046\u306bmarkdown\u3067\u66f8\u3051\u3070\u3001\\r\\n\\r\\n```mdx title=\\"Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09\\"\\r\\n:::info[info\u306e\u4f8b]\\r\\n\\r\\n\u3053\u3053\u306b\u6587\u7ae0\u3092\u66f8\u304f\\r\\n\\r\\n:::\\r\\n```\\r\\n\\r\\n\u6b21\u306e\u3088\u3046\u306bHTML\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002\\r\\n\\r\\n:::info info\u306e\u4f8b\\r\\n\\r\\n\u3053\u3053\u306b\u6587\u7ae0\u3092\u66f8\u304f\\r\\n\\r\\n:::\\r\\n\\r\\n\u3057\u304b\u3057\uff08DocusaurusV3.1\uff09\u3067\u3053\u306eAdmonition\u306e\u30bf\u30a4\u30c8\u30eb\u306f\u898b\u51fa\u3057\uff08[Heading](https://docusaurus.io/docs/markdown-features/toc)\uff09\u306b\u306a\u3089\u305a\u3001\u76ee\u6b21\uff08[TOC](https://docusaurus.io/docs/markdown-features/toc)\uff09\u306b\u3082\u4e57\u308a\u307e\u305b\u3093\u3002\u4e0a\u8a18\u4f8b\u306a\u3089\u300cINFO\u306e\u4f8b\u300d\u304cTOC\u306b\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002\\r\\n\\r\\n\\r\\n\u6b21\u306e\u56f3\u304b\u3089\u3082\u5206\u304b\u3063\u3066\u3044\u305f\u3060\u3051\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002\\r\\n\\r\\n![Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u304c\u898b\u51fa\u3057\u306b\u306a\u3089\u306a\u3044](admonition-no-toc.png)\\r\\n\\r\\n\u4e9b\u7d30\u306a\u3053\u3068\u306e\u3088\u3046\u306b\u3082\u601d\u3048\u307e\u3059\u304c\u3001Docusaurus\u3092\u66f8\u7c4d\u306e\u3088\u3046\u306b\u6271\u3046\u306b\u306f\u7d50\u69cb\u6c17\u306b\u306a\u308b\u3068\u3053\u308d\u3002\\r\\n\\r\\n\u306a\u304a[\u4ee5\u524d\u306fAdmonition\u306e\u30bf\u30a4\u30c8\u30eb\u306fH5\u8981\u7d20\u306b\u306a\u3063\u3066\u3044\u305f](https://github.com/elviswolcott/remark-admonitions/issues/26)\u3088\u3046\u3067\u3059\u304c\u3001\u6df1\u3055\uff08H1\uff5eH5\u306e\u30ec\u30d9\u30eb\uff09\u3092\u6c7a\u3081\u6253\u3061\u3059\u308b\u306e\u306f\u597d\u307e\u3057\u304f\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u304b\u3089\uff08\uff1f\uff09\u3001\u4eca\u306fH5\u8981\u7d20\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\\r\\n\\r\\n\u6b21\u306e\u3088\u3046\u306b\u672c\u6587\u4e2d\u306b\u898b\u51fa\u3057\u3092\u66f8\u304f\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u304c\\r\\n\\r\\n```mdx title=\\"Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09\\"\\r\\n:::info\\r\\n\\r\\n#### \u30c6\u30b9\u30c8\\r\\n\\r\\n\uff5e\u6587\u7ae0\uff5e\\r\\n\\r\\n:::\\r\\n```\\r\\n\u898b\u305f\u76ee\u304c\u30a4\u30de\u30a4\u30c1\u306b\u306a\u308a\u307e\u3059\u3002\\r\\n\\r\\n:::info\\r\\n\\r\\n#### \u30c6\u30b9\u30c8\\r\\n\\r\\n\uff5e\u6587\u7ae0\uff5e\\r\\n\\r\\n:::\\r\\n\\r\\n\\r\\n[\u307b\u304b\u306e\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306e\u8981\u671b](https://github.com/facebook/docusaurus/discussions/7146)\u3082\u4e0a\u304c\u3063\u3066\u304a\u308a\u3001\u79c1\u3082\u5c11\u3057\u4e0d\u4fbf\u306b\u611f\u3058\u3066\u3044\u305f\u306e\u3067\u3001\u6b21\u306e\u4ed5\u69d8\u306b\u306a\u308b\u3088\u3046\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u3092\u7d39\u4ecb\u3059\u308b\u8a18\u4e8b\u3067\u3059\u3002\\r\\n\\r\\n## \u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5f8c\u306f\u3069\u3046\u306a\u308b\u304b\\r\\n\\r\\n\u5f8c\u8ff0\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u3059\u308b\u3068\u3001Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u90e8\u306b\uff08\u901a\u5e38\u306e\u898b\u51fa\u3057markdown\u3068\u540c\u69d8\u306b\uff09**#\u3092\u5192\u982d\u306b2\u500b\u4ee5\u4e0a\u5165\u308c\u308b** \u3053\u3068\u3067\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305fTOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002#\u30922\u500b\u4ee5\u4e0a\u3068\u3057\u3066\u3044\u308b\u306e\u306f\u3001H1\u3092Admonition\u306b\u306f\u4f7f\u308f\u306a\u3044\u306f\u305a\u306e\u305f\u3081\u3002\u307e\u305f#\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u306f\u898b\u51fa\u3057\u306b\u306a\u3089\u305a\u3001TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\u3002\\r\\n\\r\\n### \u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b#\u3092\u5165\u308c\u305f\u5834\u5408\\r\\n\\r\\n```mdx title=\\"Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09\\"\\r\\n:::info[#### \u898b\u51fa\u3057\u306b\u306a\u308aTOC\u306b\u53cd\u6620\u3055\u308c\u308b\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b]\\r\\n\\r\\n#\u304c4\u3064\u5206\u306e\u305f\u3081H4\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u3059\u3002TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002\\r\\n\\r\\n:::\\r\\n```\\r\\n\u2193\\r\\n\\r\\n:::info #### \u898b\u51fa\u3057\u306b\u306a\u308aTOC\u306b\u53cd\u6620\u3055\u308c\u308b\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b\\r\\n\\r\\n#\u304c4\u3064\u5206\u306e\u305f\u3081H4\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u3059\u3002TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002\\r\\n\\r\\n:::\\r\\n\\r\\n\u3053\u306e\u30d6\u30ed\u30b0\u3067\u3082TOC\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \\r\\n\u306a\u304a\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u3092\u4e57\u305b\u305f\u969b\u306b\u30cf\u30c3\u30b7\u30e5\u30ea\u30f3\u30af\uff08#\uff09\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306fCSS\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002\\r\\n\\r\\n### \u30bf\u30a4\u30c8\u30eb\u5192\u982d\u306b#\u3092\u5165\u308c\u306a\u3044\u5834\u5408\\r\\n\\r\\n```mdx title=\\"Admonition\u306e\u8a18\u6cd5\uff08md\u3082\u3057\u304f\u306fmdx\u306b\u8a18\u8f09\uff09\\"\\r\\n:::info \u898b\u51fa\u3057\u306b\u306a\u3089\u305aTOC\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b\\r\\n\\r\\n#\u304c\u306a\u3044\u305f\u3081\u898b\u51fa\u3057\u306b\u306a\u3089\u305a\u3001TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\u3002\\r\\n\\r\\n:::\\r\\n```\\r\\n\u2193\\r\\n:::info #### \u898b\u51fa\u3057\u306b\u306a\u3089\u305aTOC\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30bf\u30a4\u30c8\u30eb\u306e\u4f8b\\r\\n\\r\\n#\u304c\u306a\u3044\u305f\u3081\u898b\u51fa\u3057\u306b\u306a\u308a\u307e\u305b\u3093\u3002\\r\\n\\r\\n:::\\r\\n\\r\\n### \u30bf\u30a4\u30c8\u30eb\u306bHTML\u3092\u5165\u308c\u308b\u3053\u3068\u3082\u53ef\u80fd\\r\\n\\r\\n\u306a\u304a\u30bf\u30a4\u30c8\u30eb\u90e8\u306bHTML\u3092\u5165\u308c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002TOC\u306b\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\u3002\\r\\n\\r\\n:::info #### \u30c6\u30b9\u30c8123\u30c6\u30b9\u30c8\u4e0b\u7dda\\r\\n\\r\\n```\\r\\n\\r\\n\u30bf\u30a4\u30c8\u30eb\u90e8\u306emarkdown\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002\\r\\n\\r\\n#### \u30c6\u30b9\u30c8123\u30c6\u30b9\u30c8\u4e0b\u7dda\\r\\n\\r\\n```\\r\\n\\r\\n:::\\r\\n\\r\\n\\r\\n## \u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u5229\u7528\u3057\u305f\u6a5f\u80fd\\r\\n\\r\\n\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306f\u6b21\u306e\u6a5f\u80fd\u3092\u6d3b\u7528\u3057\u307e\u3057\u305f\u3002\\r\\n\\r\\n- [Remark/Rehype\u306e\u30d7\u30e9\u30b0\u30a4\u30f3](https://docusaurus.io/docs/markdown-features/plugins)\\r\\n- [Swizzling](https://docusaurus.io/docs/swizzling)\\r\\n\\r\\n### Remark\u3068Rehype\u306b\u3064\u3044\u3066\\r\\n\\r\\nRemark\u3068Rehype\u306f\u3001markdown\u3092HTML\u306b\u5909\u63db\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u306b\u304a\u3044\u3066\u3001AST\uff08\u62bd\u8c61\u69cb\u6587\u6728\u30fbAbstract Syntax Tree\uff09\u306b\u4f5c\u7528\u3059\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3059\u3002\u306a\u304a[AST\u3092\u64cd\u4f5c\u3059\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0](https://github.com/unifiedjs/unified)\u306e\u4e2d\u306b\u306f\u3082\u3046\u4e00\u3064[Retext](https://github.com/retextjs/retext)\u3068\u3044\u3046\u30d7\u30e9\u30b0\u30a4\u30f3\u3082\u3042\u308a\u307e\u3059\u304c\u3001Docusaurus\u306b\u306f\u5b9f\u88c5\u3055\u308c\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u3059\u3002\\r\\n\\r\\n```md title=\\"markdown\u304b\u3089HTML\u3078\u5909\u63db\u51e6\u7406\u306e\u6d41\u308c\\"\\r\\n| ........................ process ........................... |\\r\\n| .......... parse ... | ... run ... | ... stringify ..........|\\r\\n\\r\\n +--------+ +----------+\\r\\nInput ->- | Parser | ->- Syntax Tree ->- | Compiler | ->- Output\\r\\n +--------+ | +----------+\\r\\n X\\r\\n |\\r\\n +--------------+\\r\\n | Transformers |\\r\\n +--------------+\\r\\n```\\r\\n\\r\\n\u4e0a\u56f3\uff08[Unified Overview\u3088\u308a](https://github.com/unifiedjs/unified?tab=readme-ov-file#overview)\uff09\u306bTransformers\u3068\u3042\u308b\u3068\u3053\u308d\u304cRemark/Rehype\u306e\u52d5\u4f5c\u3059\u308b\u3068\u3053\u308d\u3002\\r\\n\\r\\nRemark\u306fmarkdown\u5f62\u5f0f\u3067\u3001Rehype\u306fHTML\u5f62\u5f0f\u3067AST\u3092\u6271\u3044\u307e\u3059\u3002\u3069\u3061\u3089\u3082\u540c\u3058\u3088\u3046\u306bAST\u3092\u64cd\u4f5c\u3067\u304d\u307e\u3059\u304c\u3001\u30c7\u30fc\u30bf\u69cb\u9020\u304c\u9055\u3046\u305f\u3081\u3001\u76ee\u7684\u306b\u5fdc\u3058\u3066\u9078\u629e\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u304b\u306a\u3068\u601d\u3044\u307e\u3059\u3002\\r\\n\\r\\n#### Docusaurus\u306b\u304a\u3051\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0\\r\\n\\r\\nDocusaurus\u3067\u3053\u308c\u3089\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306b\u306fdocusaurus.config.json\u306b\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002[\u3053\u306e\u30da\u30fc\u30b8\u306b\u3088\u308b\u3068](https://docusaurus.io/docs/markdown-features/plugins)\u6b21\u306e4\u7a2e\u985e\u306e\u8a2d\u5b9a\u5024\u306b\u3066\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u767b\u9332\u3067\u304d\u307e\u3059\u3002\\r\\n\\r\\n| | \u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u524d | \u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u5f8c |\\r\\n| -------------------- | --------------------------- | --------------------------- |\\r\\n| Remark
Markdown\u5f62\u5f0f | beforeDefaultRemarkPlugins | remarkPlugins |\\r\\n| Rehype
HTML\u5f62\u5f0f | beforeDefaultRehypePlugins | rehypePlugins |\\r\\n\\r\\nmarkdown\u304b\u3089HTML\u3078\u306e\u5909\u63db\u51e6\u7406\u306e\u3068\u3053\u308d\u3067\u3001Docusaurus\u306f\u81ea\u524d\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\uff09\u3092\u4f7f\u3044\u300c\u898b\u51fa\u3057\u306bid\u3092\u3064\u3051\u308b\u300d\u300cAST\u304b\u3089TOC\u3092\u4f5c\u6210\u3059\u308b\u300d\u306a\u3069\u306e\u51e6\u7406\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u4eca\u56de\u306e\u3088\u3046\u306b\u300cAmonition\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u8aad\u3093\u3067TOC\u306b\u53cd\u6620\u3059\u308b\u300d\u305f\u3081\u306b\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u524d\u3068\u9069\u7528\u5f8c\u306e\u4e21\u65b9\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u306e\u51e6\u7406\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\\r\\n\\r\\n\\r\\n### Swizzling\u306b\u3064\u3044\u3066\\r\\n\\r\\nSwizzling\u306f[\u3053\u3061\u3089](https://docusaurus.io/docs/swizzling)\u306b\u8aac\u660e\u304c\u3042\u308b\u901a\u308a\u306e\u6a5f\u80fd\u3067\u3001\u7c21\u5358\u306b\u8a00\u3046\u3068React\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u6a5f\u80fd\u3067\u3059\u3002\\r\\n\\r\\nSwizzling\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3068\u3001Docusaurus\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4ee3\u308f\u308a\u306b\u81ea\u52d5\u7684\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\\r\\n\\r\\n\u4eca\u56de\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eAdmonition\u306b\u306a\u3044ID\u5c5e\u6027\u3092\u6301\u305f\u305b\u308b\u305f\u3081Admonition\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u307e\u3057\u305f\u3002Swizzling\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eAdmonition\u306e\u4ee3\u308f\u308a\u306b\u3053\u306e\u30ab\u30b9\u30bf\u30e0\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u4f7f\u308f\u308c\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\\r\\n\\r\\n## \u52d5\u4f5c\u539f\u7406\\r\\n\\r\\nTOC\u306f\u300cAST\u306b\u542b\u307e\u308c\u3066\u3044\u308bheading\u8981\u7d20\u3092\u5358\u7d14\u306b\u914d\u5217\u306b\u5165\u308c\u3066\u3044\u308b\u300d\u3060\u3051\u3067\u3059\u304c\u3001\u3053\u306e\u51e6\u7406\u306f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u4e0a\u66f8\u304d\u3067\u304d\u307e\u305b\u3093\u3002\u305d\u3053\u3067\u3001\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u51e6\u7406\u3060\u3051\u3067Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u3092TOC\u306b\u53cd\u6620\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u6b21\u3092\u601d\u3044\u3064\u304d\u3001\u5b9f\u88c5\u3057\u307e\u3057\u305f\u3002\\r\\n\\r\\n1. docusaurus\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u304cTOC\u306e\u51e6\u7406\u3092\u884c\u3046\u3088\u308a\u524d\u306b\u3001Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u90e8\u3092\u898b\u51fa\u3057\u3068\u3057\u3066\u65b0\u898f\u4f5c\u6210\u3057\u3001Admonition\u8981\u7d20\u306e\u76f4\u524d\u306b\u8ffd\u52a0\u3059\u308b\\r\\n1. docusaurus\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u304cTOC\u306e\u51e6\u7406\u3092\u884c\u3044\u3001Admonition\u306e\u30bf\u30a4\u30c8\u30eb\u90e8\u304cTOC\u306b\u5165\u308b\u3002\u898b\u51fa\u3057\u306b\u306fid\u304c\u4ed8\u4e0e\u3055\u308c\u308b\\r\\n1. \u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u51e6\u7406\u304c\u7d42\u4e86\u3057\u305f\u3089\u4f5c\u6210\u3057\u305f\u898b\u51fa\u3057\u306f\u4e0d\u8981\u306b\u306a\u308b\u306e\u3067\u524a\u9664\u3059\u308b\u3002\u305d\u306e\u969b\u3001\u524a\u9664\u3059\u308b\u898b\u51fa\u3057\u3068\u540c\u3058\u30bf\u30a4\u30c8\u30eb\u3092\u6301\u3064Admonition\u8981\u7d20\u3092\u63a2\u3057\u3001id\u3092\u4e0e\u3048\u308b\\r\\n1. Admonition\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067id\u3092HTML\u30bf\u30b0\u306b\u4ed8\u4e0e\u3059\u308b\\r\\n\\r\\n\\r\\n\\r\\n## \u5b9f\u88c5\\r\\n\\r\\n### docusaurus.config.json\\r\\n\\r\\n\u307e\u305adocusaurus.config.json\u306bimport\u3068plugin\u8a2d\u5b9a\u3092\u8a18\u5165\u3057\u307e\u3059\uff08\u30cf\u30a4\u30e9\u30a4\u30c8\u90e8\uff09\u3002\\r\\n\\r\\n\u3053\u308c\u3067Docusaurus\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30e9\u30b0\u30a4\u30f3\u9069\u7528\u306e\u524d\u5f8c\u306b\u305d\u308c\u305e\u308c\u81ea\u4f5c\u306eRemark/Rehype\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\\r\\n\\r\\nblog\u306a\u3069\u3092\u5165\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u305d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u3082\u8a18\u8f09\u3057\u307e\u3059\u3002\\r\\n\\r\\n```js title=\\"docusaurus.config.json\\"\\r\\n// highlight-start\\r\\nimport admonitionTitleToHeadingBeforeTOC from \'./src/remark/admonition-title-to-heading-before-toc.js\';\\r\\nimport admonitionTitleToHeadingAfterTOC from \'./src/rehype/admonition-title-to-heading-after-toc.js\';\\r\\n// highlight-end\\r\\n\\r\\nexport default {\\r\\n // ...\\r\\n presets: [\\r\\n [\\r\\n \'classic\',\\r\\n /** @type {import(\'@docusaurus/preset-classic\').Options} */\\r\\n ({\\r\\n docs: {\\r\\n // ...\\r\\n // highlight-start\\r\\n beforeDefaultRemarkPlugins: [admonitionTitleToHeadingBeforeTOC],\\r\\n rehypePlugins: [admonitionTitleToHeadingAfterTOC],\\r\\n // highlight-end\\r\\n },\\r\\n blog: {\\r\\n // ...\\r\\n // highlight-start\\r\\n beforeDefaultRemarkPlugins: [admonitionTitleToHeadingBeforeTOC],\\r\\n rehypePlugins: [admonitionTitleToHeadingAfterTOC],\\r\\n // highlight-end\\r\\n },\\r\\n // ...\\r\\n }),\\r\\n ]],\\r\\n // ...\\r\\n}\\r\\n```\\r\\n\\r\\n### Remark/Rehype\u30d7\u30e9\u30b0\u30a4\u30f3\\r\\n\\r\\n\u6b21\u306b\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002\\r\\n\\r\\ndocusaurus\u306esrc\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\u306brehype\u3068remark\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u308a\u3001\u6b21\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u5185\u5bb9\u30672\u3064\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u308a\u307e\u3059\u3002\\r\\n\\r\\n```js title=\\"src/rehype/admonition-title-to-heading-before-toc.js\\"\\r\\nimport {visit} from \'unist-util-visit\';\\r\\n\\r\\nconst plugin = (options) => {\\r\\n const transformer = async (ast) => {\\r\\n let newBeginningText = \\"\\";\\r\\n const visitor = ((node, index, parent) => {\\r\\n if (node.type === \'containerDirective\') {\\r\\n // :::info\u306a\u3069\u306b\u7d9a\u304f\u30bf\u30a4\u30c8\u30eb\u5192\u982dText\u90e8\uff08\u5192\u982d#\u3092\u542b\u3080\uff08\u3082\u3057\u304f\u306f\u542b\u307e\u306a\u3044\uff09\u90e8\u5206\uff09\u3092\u53d6\u5f97\uff08:::info ##** \uff09\\r\\n // \uff08\u30bf\u30a4\u30c8\u30eb\u5168\u4f53\u306b\u306fHTML\u7b49\u304c\u542b\u307e\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u5192\u982dText\u90e8\u3060\u3051\u64cd\u4f5c\u3059\u308b\u3001\u6b8b\u308a\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\uff09\\r\\n const beginningText = node.children[0].children[0].value;\\r\\n\\r\\n // \u30bf\u30a4\u30c8\u30eb\u5192\u982dText\u90e8\u306b#\u304c2\u3064\u4ee5\u4e0a\u9023\u7d9a\u3057\u3066\u3044\u308b\u3068\u304d\\r\\n if(/^##/.test(beginningText)) {\\r\\n // \u30bf\u30a4\u30c8\u30eb\u5192\u982d\u90e8\u304b\u3089#\u3068\u305d\u308c\u306b\u7d9a\u304f\u7a7a\u767d\u3092\u524a\u9664\\r\\n newBeginningText = beginningText.replace(/^#+/, \'\').trim();\\r\\n\\r\\n // \u30bf\u30a4\u30c8\u30eb\u90e8\u5192\u982d\u3060\u3051\u66f4\u65b0\u3057\u3001\u6b8b\u308a\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\\r\\n // \u307e\u305a\u30bf\u30a4\u30c8\u30eb\u90e8\u5168\u4f53\u3092\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\\r\\n let titleNodes = [...node.children[0].children];\\r\\n\\r\\n // \u5192\u982d\u8981\u7d20\u306evalue\u3092\u66f4\u65b0\uff08\u307b\u304b\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\uff09\\r\\n const newTitleBeginningNode = {\\r\\n ...titleNodes[0],\\r\\n value: newBeginningText,\\r\\n }\\r\\n \\r\\n // \u30bf\u30a4\u30c8\u30eb\u30ce\u30fc\u30c9\u306e\u5192\u982d\u8981\u7d20\u3060\u3051\u66f4\u65b0\uff08\u307b\u304b\u306f\u30b7\u30e3\u30ed\u2015\u30b3\u30d4\u30fc\uff09\\r\\n const newTitleNodes = [ ...titleNodes ];\\r\\n newTitleNodes[0] = newTitleBeginningNode;\\r\\n\\r\\n // visit\u3057\u3066\u3044\u308bcontainerDirective\u306e\u524d\u306bheading\u30ce\u30fc\u30c9\u3092\u8ffd\u52a0\\r\\n parent.children.splice(index, 0, {\\r\\n type: \'heading\',\\r\\n depth: (beginningText.match(/^##+/) || [\'\'])[0].length, // #\u306e\u9023\u7d9a\u6570\u304cheading\u306e\u6df1\u3055\\r\\n children: newTitleNodes,\\r\\n });\\r\\n // \u6b21\u306b\u691c\u7d22\u3059\u308b\u306e\u306findex\u30922\u3064\u5206\u98db\u3070\u3057\u305f\u30ce\u30fc\u30c9\\r\\n return index + 2;\\r\\n }\\r\\n }\\r\\n });\\r\\n \\r\\n visit(ast, \'containerDirective\', visitor);\\r\\n \\r\\n };\\r\\n return transformer;\\r\\n};\\r\\n\\r\\nexport default plugin;\\r\\n```\\r\\n\\r\\n```js title=\\"src/rehype/admonition-title-to-heading-after-toc.js\\"\\r\\nimport {visit} from \'unist-util-visit\';\\r\\n\\r\\nconst plugin = (options) => {\\r\\n const transformer = async (ast) => {\\r\\n let hId = null;\\r\\n let hContent = null;\\r\\n visit(ast, \'element\', (node, index, parent) => {\\r\\n if (/^h[2-6]$/.test(node.tagName) && node.properties && node.properties.id) {\\r\\n // H\u8981\u7d20\uff08h2~h6\uff09\u3092\u898b\u3064\u3051\u305f\u5834\u5408\\r\\n \\r\\n // ID\u3068\u30bf\u30a4\u30c8\u30eb\u306e\u5192\u982dText\u90e8\u3092\u53d6\u5f97\u3059\u308b\\r\\n hId = node.properties.id;\\r\\n hContent = node.children ? node.children[0].value :\\r\\n node.children[0].children[0] ? node.children[0].children[0].value : \'\';\\r\\n\\r\\n // \u7d9a\u304fAdmonition\u3092\u63a2\u3059\uff08doc\u306fH\u8981\u7d20\u3068admonition\u304c\u9023\u7d9a\u3057\u3066\u3044\u308b\u304c\\r\\n // blog\u3067\u306f\u306a\u305c\u304b\u6539\u884c\u8981\u7d20{ type:\'text\', value:\'\\\\n\' }\u304c\u9593\u306b\u5165\u3063\u3066\u3044\u308b\u306e\u3067\u5ff5\u306e\u305f\u3081\u96a3\u63a53\u8981\u7d20\u3092\u63a2\u3059\\r\\n for (let i = index + 1; i < index + 4 && i < parent.children.length; i++) {\\r\\n if(parent.children[i] && parent.children[i].tagName === \'admonition\') {\\r\\n // admonition\uff08div\uff09\u3092\u898b\u3064\u3051\u305f\u5834\u5408\\r\\n const admonitionNode = parent.children[i];\\r\\n \\r\\n // admonition\u30bf\u30a4\u30c8\u30eb\u306e\u5192\u982dText\u90e8\u5206\u3092\u53d6\u5f97\uff08properties.title\u3082\u3057\u304f\u306fchildren[0].children[0].value\uff09\\r\\n const admonitionNodeTitle = admonitionNode.properties.title ? admonitionNode.properties.title :\\r\\n admonitionNode.children[0] && admonitionNode.children[0].children[0] ? admonitionNode.children[0].children[0].value : \'\';\\r\\n\\r\\n if(/^##/.test(admonitionNodeTitle) && admonitionNodeTitle.replace(/^#+/, \'\').trim() === hContent.trim()) {\\r\\n // #\u3067\u59cb\u307e\u3063\u3066\u3044\u3066\u3001\u30bf\u30a4\u30c8\u30eb\u5192\u982d\u90e8\u304c\u540c\u3058\u5834\u5408\\r\\n // div\u306eid\u3092H\u30bf\u30b0\u306eid\u306b\u8a2d\u5b9a\\r\\n admonitionNode.properties.id = hId;\\r\\n // H\u8981\u7d20\u3092\u524a\u9664\\r\\n parent.children.splice(index, 1);\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n });\\r\\n };\\r\\n return transformer;\\r\\n};\\r\\n\\r\\nexport default plugin;\\r\\n```\\r\\n\\r\\n:::note Admonition\u306e\u30c4\u30ea\u30fc\u69cb\u9020\\r\\n\\r\\n\u53c2\u8003\u307e\u3067\u306b\u3001Remark\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u304b\u3089\u898b\u308b\u3068Admonition\u306eAST\u306f\u4f8b\u3048\u3070\u6b21\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\\r\\n\\r\\n```javascript title=\\"Admonition\u306e\u30c4\u30ea\u30fc\u69cb\u9020\uff08\u4e00\u4f8b\uff09\\"\\r\\n{\\r\\n type: \'containerDirective\',\\r\\n name: \'info\',\\r\\n attributes: {},\\r\\n children: [\\r\\n {\\r\\n type: \'paragraph\',\\r\\n data: { directiveLabel: true },\\r\\n children: [\\r\\n {\\r\\n type: \'text\',\\r\\n value: \'#### info title \u3082\u3057HTML\u7b49\u304c\u5165\u308b\u3068\uff08\u3053\u3053\u306ba\u30bf\u30b0\u3092\u5165\u308c\u308b\u3068\uff09\',\\r\\n position: [Object]\\r\\n },\\r\\n {\\r\\n type: \'mdxJsxTextElement\',\\r\\n name: \'a\',\\r\\n attributes: [],\\r\\n position: [Object],\\r\\n data: [Object],\\r\\n children: [Array]\\r\\n },\\r\\n { type: \'text\', value: \'\u3053\u306e\u3088\u3046\u306b\u30bf\u30a4\u30c8\u30eb\u90e8\u304c\u5225\u3005\u306e\u8981\u7d20\u3068\u3057\u3066\u914d\u5217\u306b\u5165\u3063\u3066\u3044\u308b\u3002\', position: [Object] }\\r\\n ],\\r\\n position: {\\r\\n start: { line: 1347, column: 8, offset: 34053 },\\r\\n end: { line: 1347, column: 55, offset: 34100 }\\r\\n }\\r\\n },\\r\\n { type: \'paragraph\', children: [Array], position: [Object] },\\r\\n ...\\r\\n ],\\r\\n ...\\r\\n}\\r\\n```\\r\\n:::\\r\\n\\r\\n### Swizzling\\r\\n\\r\\n\u6b21\u306bSwizzling\u3067\u3059\u3002\\r\\n\\r\\nDocusaurus\u306esrc/theme\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306bAdmonition\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u308a\u3001\u6b21\u306e\u4e00\u4f8b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u683c\u7d0d\u3057\u307e\u3059\u3002\\r\\n\\r\\n\u306a\u304a[\u3053\u3053\u306b\u8aac\u660e\u304c\u3042\u308b\u901a\u308a](https://docusaurus.io/docs/swizzling#ejecting)Swizzling\u306b\u306fEjecting\u3068Wrapping\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\\r\\n\\r\\nWrapping\u3067\u306fAdmonition\u306e\u5185\u90e8\u307e\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u306a\u3044\u305f\u3081\u300c\u30bf\u30a4\u30c8\u30eb\u90e8\u5206\u306bid\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4ed8\u3051\u308b\u300d\u3068\u3044\u3063\u305f\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081Ejecting\u3092\u4f7f\u3044\u307e\u3059\u3002\\r\\n\\r\\n:::note\\r\\n\\r\\nEjecting\u3092\u4f7f\u3046\u5834\u5408\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306b\u3088\u3063\u3066\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u6319\u52d5\u304c\u5909\u308f\u3063\u3066\u304f\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306e\u969b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002\\r\\n\\r\\n:::\\r\\n\\r\\n#### Ejecting\\r\\n\\r\\n```bash\\r\\nnpm run swizzle @docusaurus/theme-classic Admonition -- --eject\\r\\n```\\r\\n\\r\\nDocusaurus V3.1\u3067\u306f\u6b21\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u307e\u3059\u306e\u3067\u3001YES\u3092\u9078\u3073\u307e\u3059\u3002\\r\\n```bash\\r\\n? Do you really want to swizzle this unsafe internal component? \xbb - Use arrow-keys. Return to submit.\\r\\n NO: cancel and stay safe\\r\\n> YES: I know what I am doing!\\r\\n```\\r\\n\\r\\nEjecting\u3092\u3059\u308b\u3068\u3001\u5b9f\u8cea\u7684\u306bnode_modules\u306e@docusaurus/theme-classic/lib/theme\u306b\u3042\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304csrc/theme\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3059\u3002\\r\\n\\r\\n\u3042\u3068\u306f\u30b3\u30d4\u30fc\u3055\u308c\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u3044\u3058\u308b\u3060\u3051\u3067\u3059\u3002\\r\\n\\r\\n#### \u30b3\u30fc\u30c9\u306e\u5909\u66f4\\r\\n\\r\\nLayout\u30d5\u30a1\u30a4\u30eb\u3092\u6b21\u306e\u3088\u3046\u306b\u5909\u66f4\u3059\u308b\u306e\u307f\u3067\u3059\u3002\\r\\n\\r\\n```js title=\\"src/theme/Admonition/Layout/index.js\\"\\r\\nimport React from \'react\';\\r\\nimport clsx from \'clsx\';\\r\\nimport {ThemeClassNames} from \'@docusaurus/theme-common\';\\r\\nimport styles from \'./styles.module.css\';\\r\\n// highlight-next-line\\r\\nimport headingStyles from \'@docusaurus/theme-classic/lib/theme/Heading/styles.module.css\';\\r\\n\\r\\nfunction AdmonitionContainer({type, className, children}) {\\r\\n return (\\r\\n \\r\\n {children}\\r\\n \\r\\n );\\r\\n}\\r\\n// highlight-start\\r\\nfunction AdmonitionHeading({icon, title, id}) {\\r\\n let depth = 0;\\r\\n let trimmedTitle = title;\\r\\n // title\u306bHTML\u7b49\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u6587\u5b57\u5217\u3067\u306f\u306a\u304f\u914d\u5217\u306b\u306a\u308b\\r\\n if(typeof title === \\"string\\") {\\r\\n // \u6587\u5b57\u5217\u5192\u982d\u306e#\u306e\u6570\u3092\u6570\u3048\u308b\uff08\\r\\n depth = title.match ? (title.toString().match(/^#+/) || [\'\'])[0].length : 0;\\r\\n // #\u3092\u7701\u3044\u305f\u30bf\u30a4\u30c8\u30eb\u3092\u5f97\u308b\\r\\n trimmedTitle = depth > 0 ? title.replace(/^#+/, \'\').trim() : title;\\r\\n } else if (typeof title[0] === \\"string\\") {\\r\\n depth = title[0].match ? (title[0].match(/^#+/) || [\'\'])[0].length : 0;\\r\\n trimmedTitle = depth > 0 ? [title[0].replace(/^#+/, \'\').trim(), ...title.slice(1)] : title;\\r\\n }\\r\\n\\r\\n // \u30b9\u30af\u30ed\u30fc\u30eb\u4f4d\u7f6e\u8abf\u6574\u306ecss\\r\\n const classNames = clsx(\\"anchor\\", \\"title\\", headingStyles.anchorWithStickyNavbar);\\r\\n // depth\u306b\u5fdc\u3058\u3066\u898b\u51fa\u3057\u30bf\u30b0\u3092\u30ec\u30f3\u30c0\u30fc\\r\\n return (\\r\\n
\\r\\n {icon}\\r\\n {(() => {\\r\\n if (depth == 3) {\\r\\n return(\\r\\n \\r\\n {trimmedTitle}\\r\\n \\r\\n )\\r\\n } else if (depth == 4) {\\r\\n return(\\r\\n \\r\\n {trimmedTitle}\\r\\n \\r\\n )\\r\\n } else if (depth == 5) {\\r\\n return(\\r\\n \\r\\n {trimmedTitle}\\r\\n \\r\\n )\\r\\n } else if (depth == 6) {\\r\\n return(\\r\\n \\r\\n {trimmedTitle}\\r\\n \\r\\n )\\r\\n } else {\\r\\n return(\\r\\n <>\\r\\n {trimmedTitle}\\r\\n \\r\\n )\\r\\n }\\r\\n })()}\\r\\n
\\r\\n );\\r\\n}\\r\\n// highlight-end\\r\\nfunction AdmonitionContent({children}) {\\r\\n return children ? (\\r\\n
{children}
\\r\\n ) : null;\\r\\n}\\r\\nexport default function AdmonitionLayout(props) {\\r\\n // highlight-next-line\\r\\n const {type, icon, title, children, className, id} = props;\\r\\n return (\\r\\n \\r\\n // highlight-next-line\\r\\n \\r\\n {children}\\r\\n \\r\\n );\\r\\n}\\r\\n```\\r\\n\\r\\n\u4e0a\u8a18\u3092\u8a2d\u5b9a\u5f8c\u3001npm start\u7b49\u306e\u518d\u8d77\u52d5\u304c\u5fc5\u8981\u3067\u3059\u3002\\r\\n\\r\\n\u4ee5\u4e0a\u3067\u3059\u3002"},{"id":"/2024/01/26/new-flat-blog","metadata":{"permalink":"/docs/blog/2024/01/26/new-flat-blog","source":"@site/blog/2024/01/26/new-flat-blog/index.mdx","title":"\u65b0\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u7acb\u3061\u4e0a\u3052\u307e\u3057\u305f","description":"\u65b0\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u7acb\u3061\u4e0a\u3052\u307e\u3057\u305f\u3002\u8b70\u54e1\u6d3b\u52d5\u3084\u305d\u306e\u88cf\u3067\u6d3b\u7528\u3057\u3066\u3044\u308b\u6280\u8853\u306b\u3064\u3044\u3066\u3001\u8ab0\u304b\u306e\u5f79\u306b\u7acb\u3064\u304b\u3082\u3057\u308c\u306a\u3044\u3053\u3068\u3092\u4e2d\u5fc3\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002","date":"2024-01-26T00:00:00.000Z","formattedDate":"2024\u5e741\u670826\u65e5","tags":[{"label":"\u304a\u77e5\u3089\u305b","permalink":"/docs/blog/tags/\u304a\u77e5\u3089\u305b"},{"label":"docusaurus","permalink":"/docs/blog/tags/docusaurus"}],"readingTime":0.56,"hasTruncateMarker":false,"authors":[{"name":"\u5b89\u7af9 \u6d0b\u5e73","title":"\u6771\u4eac\u90fd\u5c0f\u5e73\u5e02\u8b70\u4f1a\u8b70\u54e1","url":"https://yasutakeyohei.com","email":"yohei@yasutakeyohei.com","imageURL":"https://cgit.yasutakeyohei.com/yohei.jpg","key":"yohei"}],"frontMatter":{"title":"\u65b0\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u7acb\u3061\u4e0a\u3052\u307e\u3057\u305f","description":"\u65b0\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u7acb\u3061\u4e0a\u3052\u307e\u3057\u305f\u3002\u8b70\u54e1\u6d3b\u52d5\u3084\u305d\u306e\u88cf\u3067\u6d3b\u7528\u3057\u3066\u3044\u308b\u6280\u8853\u306b\u3064\u3044\u3066\u3001\u8ab0\u304b\u306e\u5f79\u306b\u7acb\u3064\u304b\u3082\u3057\u308c\u306a\u3044\u3053\u3068\u3092\u4e2d\u5fc3\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002","authors":"yohei","tags":["\u304a\u77e5\u3089\u305b","docusaurus"],"hide_table_of_contents":false},"unlisted":false,"prevItem":{"title":"Docusaurus\u306e\u6ce8\u610f\u66f8\u304d\u3084\u8b66\u544a\u6587\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u898b\u51fa\u3057\u306b\u3057\u3066\u3001\u76ee\u6b21\u306b\u3082\u4e57\u305b\u308b\u65b9\u6cd5","permalink":"/docs/blog/2024/01/27/docusaurus-admonition-heading-toc"}},"content":"\u4eca\u5f8c\u306e\u5c55\u958b\u3092\u8003\u3048\u3001\u3053\u308c\u307e\u3067\u306e\u8b70\u4f1a\u6d3b\u52d5\u7b49\u306e\u307e\u3068\u3081\u3092\u3053\u306eDocusaurus\u306e\u4ed5\u7d44\u307f\u306b\u79fb\u884c\u3057\u3066\u3044\u307e\u3059\u3002\\r\\n\\r\\n\u3075\u3089\u3063\u3068\u30d6\u30ed\u30b0\u3082\u3053\u3061\u3089\u306b\u65b0\u3057\u304f\u7acb\u3061\u4e0a\u3052\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\\r\\n\\r\\n\u8b70\u54e1\u6d3b\u52d5\u3084\u3001\u305d\u306e\u88cf\u3067\u6d3b\u7528\u3057\u3066\u3044\u308b\u6280\u8853\u306b\u3064\u3044\u3066\u3001\u8ab0\u304b\u306e\u5f79\u306b\u7acb\u3064\u304b\u3082\u3057\u308c\u306a\u3044\u3053\u3068\u3092\u4e2d\u5fc3\u306b\u30d6\u30ed\u30b0\u306b\u3057\u3066\u3044\u304d\u307e\u3059\ud83d\ude01"}]}')}}]); \ No newline at end of file diff --git a/build/assets/js/runtime~main.0567ce8c.js b/build/assets/js/runtime~main.0567ce8c.js deleted file mode 100644 index ef4bc29d..00000000 --- a/build/assets/js/runtime~main.0567ce8c.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,a,d,f,c,b={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var d=t[e]={id:e,loaded:!1,exports:{}};return b[e].call(d.exports,d,d.exports,r),d.loaded=!0,d.exports}r.m=b,r.c=t,e=[],r.O=(a,d,f,c)=>{if(!d){var b=1/0;for(i=0;i=c)&&Object.keys(r.O).every((e=>r.O[e](d[o])))?d.splice(o--,1):(t=!1,c0&&e[i-1][2]>c;i--)e[i]=e[i-1];e[i]=[d,f,c]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var c=Object.create(null);r.r(c);var b={};a=a||[null,d({}),d([]),d(d)];for(var t=2&f&&e;"object"==typeof t&&!~a.indexOf(t);t=d(t))Object.getOwnPropertyNames(t).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,r.d(c,b),c},r.d=(e,a)=>{for(var d in a)r.o(a,d)&&!r.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,d)=>(r.f[d](e,a),a)),[])),r.u=e=>"assets/js/"+({53:"935f2afb",430:"64d2aaf3",528:"8bfa397d",573:"b555035b",619:"edf70703",624:"71133511",748:"7d2122a7",933:"9a6bacf9",971:"96cd1e66",1071:"c323cf39",1202:"dc7949f6",1353:"b104044e",1672:"46902777",1705:"1712a5d7",1852:"8d6fab5b",1878:"862b919c",1924:"eb4a222a",1926:"64d88247",1930:"42a2d52a",2065:"6d89e882",2117:"0c606bad",2204:"deb01925",2235:"b67c1e27",2351:"3666640d",2428:"478bdbaa",2455:"47cf1299",2529:"288be972",2535:"814f3328",2637:"c61014ee",2708:"9f566b50",2717:"e14e76e6",2726:"412d0dcd",2792:"d90256aa",2811:"3d689465",2845:"15f538d2",2912:"33d41bd9",3089:"a6aa9e1f",3280:"c3ffe627",3346:"a82ae4b6",3408:"b2077d99",3441:"1ee5418f",3480:"ed6aa310",3493:"8dcffce8",3608:"9e4087bc",3684:"c46f58ac",3751:"3720c009",3859:"89f7eff6",3861:"b5ff9dac",3912:"d901b434",3935:"9f5a0234",4013:"01a85c17",4015:"c81768bb",4024:"e090ed62",4059:"4d47ed01",4121:"55960ee5",4143:"40103711",4195:"c4f5d8e4",4233:"a76a9efb",4293:"79af5ee4",4309:"623ba558",4368:"a94703ab",4456:"643188e0",4522:"372d5e74",4594:"21a5007c",4689:"01ceaed7",5165:"071657d1",5254:"8dcef946",5422:"49bdefce",5432:"029d238f",5495:"01caaf0f",5511:"87ace188",5640:"6b0e84ee",5658:"95d556ce",5661:"b968238f",5703:"d308e083",5867:"44e999fb",5906:"2c529917",5938:"f57c53bb",5973:"6b8a5e31",5989:"700d3c8c",6001:"e0b1e863",6009:"d8243dcc",6091:"44c84a0b",6103:"ccc49370",6107:"7f8fdee3",6201:"2bd4a236",6208:"ee61f19e",6257:"09c9070b",6291:"2d0c6224",6325:"988827c1",6363:"42d8d494",6523:"4f2f9da8",6679:"53a8be8d",6799:"9ad71cb0",6864:"77e76c06",6886:"77a41ee1",6925:"70b63ca1",6972:"e3d2d278",7163:"7ae00f92",7190:"d37d5e1f",7285:"08b77381",7330:"c0e54e34",7397:"f8181f64",7415:"60341fd1",7446:"18ce1c6a",7494:"250e4531",7513:"74d64804",7643:"62a6dd2b",7665:"6f79874c",7682:"1e45470c",7705:"b7531d89",7768:"0b4c6bfa",7918:"17896441",7920:"1a4e3797",8013:"6e783428",8027:"dce6b55f",8203:"7ae921cb",8207:"e43d57a6",8315:"a8f327a5",8342:"0793a51e",8409:"c518779d",8518:"a7bd4aaa",8531:"17861932",8557:"289989ee",8598:"5fdde1d3",8610:"6875c492",8695:"6e59e873",8812:"ad790eb0",8869:"99865f9e",8873:"6a3182e9",8889:"6a7cca56",9148:"575903cb",9229:"7bf97637",9255:"48f9a884",9301:"e8a3dcc1",9375:"1daafae2",9402:"7ce11019",9448:"50260472",9454:"bbf8c7b9",9482:"fd63e11c",9508:"6ebfa8a7",9567:"eae66c4a",9629:"1ce75706",9661:"5e95c892",9747:"ede126fd",9817:"14eb3368",9921:"da26cf27",9924:"df203c0f",9954:"aefee802",9994:"24df923a"}[e]||e)+"."+{53:"03992385",89:"169dd17a",130:"216e356b",194:"4b35c995",339:"26719f9d",430:"986d3313",528:"d5e2044b",573:"55d74dcc",619:"192aac63",624:"5cf05981",748:"4ee22acb",861:"04569929",885:"6de8344b",933:"fdb86174",971:"a43099ad",1071:"18d2ba98",1202:"a2d6a87e",1308:"28807de5",1353:"1a7ae629",1426:"eb4c51b0",1644:"74055bda",1672:"d1493ec3",1705:"b5687478",1772:"1670cec0",1852:"5eadf056",1878:"f0a78eab",1924:"cacbec75",1926:"8a79924a",1930:"8a8ce1b7",2005:"02b36eee",2065:"7c29152e",2117:"903241a1",2204:"bf5434d1",2235:"061ee607",2351:"85d5e88d",2428:"a9d5d9f9",2455:"4d0f34e9",2491:"2fc16a49",2494:"4cc0b577",2529:"76ec9184",2535:"07e15489",2637:"52d561a7",2708:"a9f2c16e",2717:"8bef8ca0",2726:"081af007",2788:"1221af7c",2792:"2ad5f451",2811:"b805d194",2845:"b3fa98a1",2912:"6c43f95c",2924:"fdde49d6",2950:"cb9f51b0",3089:"8c7af50b",3177:"d478da0f",3280:"edb2cb3b",3304:"e49d8e0c",3343:"c3c37652",3346:"bea1e82c",3408:"62f889f1",3441:"6abb9176",3480:"d6d24e70",3493:"2a0a0a71",3608:"ab981275",3684:"4299add7",3751:"e86077fa",3859:"670be593",3861:"0ec852a6",3912:"0849ab7e",3935:"0b2fe94c",4013:"454ba333",4015:"166c36cf",4024:"a522cfd5",4059:"76175693",4121:"c40f4b75",4143:"fc3b3464",4168:"9c6dfa81",4195:"77505e4f",4233:"79b30b95",4237:"f0f8a98d",4293:"0b543986",4309:"c034ea7b",4368:"3af39c30",4456:"d8e62b48",4522:"fb8336bb",4594:"ca24b93f",4641:"2cf8de13",4689:"1976bb8d",4852:"33a28947",5165:"86ca3b2d",5254:"f2e9a9d1",5364:"26edfe07",5422:"f621af39",5432:"8d1929cb",5495:"9ab4da42",5511:"c5584003",5622:"decdea0b",5640:"c51d8361",5658:"a96605c0",5661:"84e3f191",5703:"5b4a5bb4",5867:"5ed0286a",5906:"d0d2ead3",5938:"cd6fc67d",5973:"204c0298",5989:"e01c2e3c",6001:"70561845",6009:"18351d87",6091:"8ab2be87",6103:"93eb20bc",6107:"806256dd",6201:"d14de83c",6208:"1cf08467",6257:"0a3ca99a",6291:"57036595",6325:"12140679",6363:"6db4fdd3",6523:"9a30b70f",6679:"8c04c78e",6799:"79032854",6864:"2ca05edc",6886:"af03a2bd",6925:"48174287",6945:"0dbbf87b",6972:"57ef6a9d",7163:"29ea718f",7190:"09a0cc74",7273:"c0248c72",7285:"083b4188",7330:"d965a526",7397:"e8023246",7415:"49014cf7",7446:"f6702073",7494:"ccceba47",7513:"3e08bd32",7643:"c17b24f6",7665:"8e89072b",7682:"71c71500",7705:"3b309a07",7768:"84b58fd4",7918:"b8fc71bd",7920:"2e609712",7973:"ecbb3e29",8013:"adb83bfa",8027:"f8f8101c",8203:"3677eb10",8207:"5c9e6a23",8315:"2d0b6b29",8342:"93a72ebc",8409:"1f734260",8518:"0ebfa4c2",8531:"1b5c0330",8557:"f4ff15ee",8598:"afcb3592",8610:"55157161",8695:"225e1145",8812:"396ca7e2",8869:"8c4933de",8873:"8ecfb234",8889:"82378dba",8894:"ed9f2427",8932:"ea9c12b2",9148:"582256ca",9229:"c5cb1ea2",9255:"5be03da8",9261:"bf274276",9277:"0e157af0",9301:"f4d83ffd",9375:"b2d86c2d",9402:"fabcae73",9448:"5b1f1786",9454:"1d1f319d",9482:"e8d733dd",9508:"5a374887",9567:"b441d288",9629:"78d3e146",9661:"cf183e75",9732:"573e159c",9747:"9f12f116",9765:"40413aaa",9817:"1aa3950e",9921:"fc83e02f",9924:"396ab9e9",9954:"642a4b37",9994:"222b61d4"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),f={},c="documents:",r.l=(e,a,d,b)=>{if(f[e])f[e].push(a);else{var t,o;if(void 0!==d)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var c=f[e];if(delete f[e],t.parentNode&&t.parentNode.removeChild(t),c&&c.forEach((e=>e(d))),a)return a(d)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/docs/",r.gca=function(e){return e={17861932:"8531",17896441:"7918",40103711:"4143",46902777:"1672",50260472:"9448",71133511:"624","935f2afb":"53","64d2aaf3":"430","8bfa397d":"528",b555035b:"573",edf70703:"619","7d2122a7":"748","9a6bacf9":"933","96cd1e66":"971",c323cf39:"1071",dc7949f6:"1202",b104044e:"1353","1712a5d7":"1705","8d6fab5b":"1852","862b919c":"1878",eb4a222a:"1924","64d88247":"1926","42a2d52a":"1930","6d89e882":"2065","0c606bad":"2117",deb01925:"2204",b67c1e27:"2235","3666640d":"2351","478bdbaa":"2428","47cf1299":"2455","288be972":"2529","814f3328":"2535",c61014ee:"2637","9f566b50":"2708",e14e76e6:"2717","412d0dcd":"2726",d90256aa:"2792","3d689465":"2811","15f538d2":"2845","33d41bd9":"2912",a6aa9e1f:"3089",c3ffe627:"3280",a82ae4b6:"3346",b2077d99:"3408","1ee5418f":"3441",ed6aa310:"3480","8dcffce8":"3493","9e4087bc":"3608",c46f58ac:"3684","3720c009":"3751","89f7eff6":"3859",b5ff9dac:"3861",d901b434:"3912","9f5a0234":"3935","01a85c17":"4013",c81768bb:"4015",e090ed62:"4024","4d47ed01":"4059","55960ee5":"4121",c4f5d8e4:"4195",a76a9efb:"4233","79af5ee4":"4293","623ba558":"4309",a94703ab:"4368","643188e0":"4456","372d5e74":"4522","21a5007c":"4594","01ceaed7":"4689","071657d1":"5165","8dcef946":"5254","49bdefce":"5422","029d238f":"5432","01caaf0f":"5495","87ace188":"5511","6b0e84ee":"5640","95d556ce":"5658",b968238f:"5661",d308e083:"5703","44e999fb":"5867","2c529917":"5906",f57c53bb:"5938","6b8a5e31":"5973","700d3c8c":"5989",e0b1e863:"6001",d8243dcc:"6009","44c84a0b":"6091",ccc49370:"6103","7f8fdee3":"6107","2bd4a236":"6201",ee61f19e:"6208","09c9070b":"6257","2d0c6224":"6291","988827c1":"6325","42d8d494":"6363","4f2f9da8":"6523","53a8be8d":"6679","9ad71cb0":"6799","77e76c06":"6864","77a41ee1":"6886","70b63ca1":"6925",e3d2d278:"6972","7ae00f92":"7163",d37d5e1f:"7190","08b77381":"7285",c0e54e34:"7330",f8181f64:"7397","60341fd1":"7415","18ce1c6a":"7446","250e4531":"7494","74d64804":"7513","62a6dd2b":"7643","6f79874c":"7665","1e45470c":"7682",b7531d89:"7705","0b4c6bfa":"7768","1a4e3797":"7920","6e783428":"8013",dce6b55f:"8027","7ae921cb":"8203",e43d57a6:"8207",a8f327a5:"8315","0793a51e":"8342",c518779d:"8409",a7bd4aaa:"8518","289989ee":"8557","5fdde1d3":"8598","6875c492":"8610","6e59e873":"8695",ad790eb0:"8812","99865f9e":"8869","6a3182e9":"8873","6a7cca56":"8889","575903cb":"9148","7bf97637":"9229","48f9a884":"9255",e8a3dcc1:"9301","1daafae2":"9375","7ce11019":"9402",bbf8c7b9:"9454",fd63e11c:"9482","6ebfa8a7":"9508",eae66c4a:"9567","1ce75706":"9629","5e95c892":"9661",ede126fd:"9747","14eb3368":"9817",da26cf27:"9921",df203c0f:"9924",aefee802:"9954","24df923a":"9994"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,d)=>{var f=r.o(e,a)?e[a]:void 0;if(0!==f)if(f)d.push(f[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var c=new Promise(((d,c)=>f=e[a]=[d,c]));d.push(f[2]=c);var b=r.p+r.u(a),t=new Error;r.l(b,(d=>{if(r.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var c=d&&("load"===d.type?"missing":d.type),b=d&&d.target&&d.target.src;t.message="Loading chunk "+a+" failed.\n("+c+": "+b+")",t.name="ChunkLoadError",t.type=c,t.request=b,f[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,d)=>{var f,c,b=d[0],t=d[1],o=d[2],n=0;if(b.some((a=>0!==e[a]))){for(f in t)r.o(t,f)&&(r.m[f]=t[f]);if(o)var i=o(r)}for(a&&a(d);n{"use strict";var e,a,d,f,c,b={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var d=t[e]={id:e,loaded:!1,exports:{}};return b[e].call(d.exports,d,d.exports,r),d.loaded=!0,d.exports}r.m=b,r.c=t,e=[],r.O=(a,d,f,c)=>{if(!d){var b=1/0;for(i=0;i=c)&&Object.keys(r.O).every((e=>r.O[e](d[o])))?d.splice(o--,1):(t=!1,c0&&e[i-1][2]>c;i--)e[i]=e[i-1];e[i]=[d,f,c]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var c=Object.create(null);r.r(c);var b={};a=a||[null,d({}),d([]),d(d)];for(var t=2&f&&e;"object"==typeof t&&!~a.indexOf(t);t=d(t))Object.getOwnPropertyNames(t).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,r.d(c,b),c},r.d=(e,a)=>{for(var d in a)r.o(a,d)&&!r.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,d)=>(r.f[d](e,a),a)),[])),r.u=e=>"assets/js/"+({53:"935f2afb",430:"64d2aaf3",528:"8bfa397d",573:"b555035b",619:"edf70703",624:"71133511",748:"7d2122a7",933:"9a6bacf9",971:"96cd1e66",1071:"c323cf39",1202:"dc7949f6",1353:"b104044e",1672:"46902777",1705:"1712a5d7",1852:"8d6fab5b",1878:"862b919c",1924:"eb4a222a",1926:"64d88247",1930:"42a2d52a",2065:"6d89e882",2117:"0c606bad",2204:"deb01925",2235:"b67c1e27",2351:"3666640d",2428:"478bdbaa",2455:"47cf1299",2529:"288be972",2535:"814f3328",2637:"c61014ee",2708:"9f566b50",2717:"e14e76e6",2726:"412d0dcd",2792:"d90256aa",2811:"3d689465",2845:"15f538d2",2912:"33d41bd9",3089:"a6aa9e1f",3280:"c3ffe627",3346:"a82ae4b6",3408:"b2077d99",3441:"1ee5418f",3480:"ed6aa310",3493:"8dcffce8",3608:"9e4087bc",3684:"c46f58ac",3751:"3720c009",3859:"89f7eff6",3861:"b5ff9dac",3912:"d901b434",3935:"9f5a0234",4013:"01a85c17",4015:"c81768bb",4024:"e090ed62",4059:"4d47ed01",4121:"55960ee5",4143:"40103711",4195:"c4f5d8e4",4233:"a76a9efb",4293:"79af5ee4",4309:"623ba558",4368:"a94703ab",4456:"643188e0",4522:"372d5e74",4594:"21a5007c",4689:"01ceaed7",5165:"071657d1",5254:"8dcef946",5422:"49bdefce",5432:"029d238f",5495:"01caaf0f",5511:"87ace188",5640:"6b0e84ee",5658:"95d556ce",5661:"b968238f",5703:"d308e083",5867:"44e999fb",5906:"2c529917",5938:"f57c53bb",5973:"6b8a5e31",5989:"700d3c8c",6001:"e0b1e863",6009:"d8243dcc",6091:"44c84a0b",6103:"ccc49370",6107:"7f8fdee3",6201:"2bd4a236",6208:"ee61f19e",6257:"09c9070b",6291:"2d0c6224",6325:"988827c1",6363:"42d8d494",6523:"4f2f9da8",6679:"53a8be8d",6799:"9ad71cb0",6864:"77e76c06",6886:"77a41ee1",6925:"70b63ca1",6972:"e3d2d278",7163:"7ae00f92",7190:"d37d5e1f",7285:"08b77381",7330:"c0e54e34",7397:"f8181f64",7415:"60341fd1",7446:"18ce1c6a",7494:"250e4531",7513:"74d64804",7643:"62a6dd2b",7665:"6f79874c",7682:"1e45470c",7705:"b7531d89",7768:"0b4c6bfa",7918:"17896441",7920:"1a4e3797",8013:"6e783428",8027:"dce6b55f",8203:"7ae921cb",8207:"e43d57a6",8315:"a8f327a5",8342:"0793a51e",8409:"c518779d",8518:"a7bd4aaa",8531:"17861932",8557:"289989ee",8598:"5fdde1d3",8610:"6875c492",8695:"6e59e873",8812:"ad790eb0",8869:"99865f9e",8873:"6a3182e9",8889:"6a7cca56",9148:"575903cb",9229:"7bf97637",9255:"48f9a884",9301:"e8a3dcc1",9375:"1daafae2",9402:"7ce11019",9448:"50260472",9454:"bbf8c7b9",9482:"fd63e11c",9508:"6ebfa8a7",9567:"eae66c4a",9629:"1ce75706",9661:"5e95c892",9747:"ede126fd",9817:"14eb3368",9921:"da26cf27",9924:"df203c0f",9954:"aefee802",9994:"24df923a"}[e]||e)+"."+{53:"03992385",89:"169dd17a",130:"216e356b",194:"4b35c995",339:"26719f9d",430:"986d3313",528:"d5e2044b",573:"55d74dcc",619:"192aac63",624:"5cf05981",748:"4ee22acb",861:"04569929",885:"6de8344b",933:"fdb86174",971:"a43099ad",1071:"18d2ba98",1202:"a2d6a87e",1308:"28807de5",1353:"1a7ae629",1426:"eb4c51b0",1644:"74055bda",1672:"d1493ec3",1705:"b5687478",1772:"1670cec0",1852:"5eadf056",1878:"f0a78eab",1924:"cacbec75",1926:"8a79924a",1930:"8a8ce1b7",2005:"02b36eee",2065:"7c29152e",2117:"903241a1",2204:"bf5434d1",2235:"061ee607",2351:"85d5e88d",2428:"a9d5d9f9",2455:"4d0f34e9",2491:"2fc16a49",2494:"4cc0b577",2529:"76ec9184",2535:"07e15489",2637:"52d561a7",2708:"a9f2c16e",2717:"2f850287",2726:"081af007",2788:"1221af7c",2792:"2ad5f451",2811:"b805d194",2845:"b3fa98a1",2912:"6c43f95c",2924:"fdde49d6",2950:"cb9f51b0",3089:"8c7af50b",3177:"d478da0f",3280:"edb2cb3b",3304:"e49d8e0c",3343:"c3c37652",3346:"bea1e82c",3408:"62f889f1",3441:"6abb9176",3480:"d6d24e70",3493:"2a0a0a71",3608:"ab981275",3684:"4299add7",3751:"e86077fa",3859:"670be593",3861:"0ec852a6",3912:"0849ab7e",3935:"0b2fe94c",4013:"454ba333",4015:"166c36cf",4024:"a522cfd5",4059:"76175693",4121:"c40f4b75",4143:"fc3b3464",4168:"9c6dfa81",4195:"77505e4f",4233:"79b30b95",4237:"f0f8a98d",4293:"0b543986",4309:"c034ea7b",4368:"3af39c30",4456:"d8e62b48",4522:"fb8336bb",4594:"ca24b93f",4641:"2cf8de13",4689:"1976bb8d",4852:"33a28947",5165:"86ca3b2d",5254:"f2e9a9d1",5364:"26edfe07",5422:"f621af39",5432:"8d1929cb",5495:"9ab4da42",5511:"c5584003",5622:"decdea0b",5640:"c51d8361",5658:"a96605c0",5661:"84e3f191",5703:"5b4a5bb4",5867:"5ed0286a",5906:"d0d2ead3",5938:"cd6fc67d",5973:"204c0298",5989:"e01c2e3c",6001:"70561845",6009:"18351d87",6091:"8ab2be87",6103:"93eb20bc",6107:"806256dd",6201:"d14de83c",6208:"1cf08467",6257:"0a3ca99a",6291:"57036595",6325:"12140679",6363:"6db4fdd3",6523:"9a30b70f",6679:"8c04c78e",6799:"79032854",6864:"2ca05edc",6886:"af03a2bd",6925:"48174287",6945:"0dbbf87b",6972:"57ef6a9d",7163:"29ea718f",7190:"09a0cc74",7273:"c0248c72",7285:"083b4188",7330:"d965a526",7397:"e8023246",7415:"49014cf7",7446:"5dfa1dc1",7494:"ccceba47",7513:"3e08bd32",7643:"c17b24f6",7665:"8e89072b",7682:"71c71500",7705:"3b309a07",7768:"baff817d",7918:"b8fc71bd",7920:"2e609712",7973:"ecbb3e29",8013:"adb83bfa",8027:"f8f8101c",8203:"3677eb10",8207:"5c9e6a23",8315:"2d0b6b29",8342:"93a72ebc",8409:"1f734260",8518:"0ebfa4c2",8531:"1b5c0330",8557:"f4ff15ee",8598:"afcb3592",8610:"55157161",8695:"225e1145",8812:"396ca7e2",8869:"8c4933de",8873:"8ecfb234",8889:"82378dba",8894:"ed9f2427",8932:"ea9c12b2",9148:"582256ca",9229:"c5cb1ea2",9255:"5be03da8",9261:"bf274276",9277:"0e157af0",9301:"f4d83ffd",9375:"b2d86c2d",9402:"fabcae73",9448:"5b1f1786",9454:"1d1f319d",9482:"e8d733dd",9508:"5a374887",9567:"b441d288",9629:"78d3e146",9661:"cf183e75",9732:"573e159c",9747:"9f12f116",9765:"40413aaa",9817:"1aa3950e",9921:"fc83e02f",9924:"396ab9e9",9954:"642a4b37",9994:"222b61d4"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),f={},c="documents:",r.l=(e,a,d,b)=>{if(f[e])f[e].push(a);else{var t,o;if(void 0!==d)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var c=f[e];if(delete f[e],t.parentNode&&t.parentNode.removeChild(t),c&&c.forEach((e=>e(d))),a)return a(d)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/docs/",r.gca=function(e){return e={17861932:"8531",17896441:"7918",40103711:"4143",46902777:"1672",50260472:"9448",71133511:"624","935f2afb":"53","64d2aaf3":"430","8bfa397d":"528",b555035b:"573",edf70703:"619","7d2122a7":"748","9a6bacf9":"933","96cd1e66":"971",c323cf39:"1071",dc7949f6:"1202",b104044e:"1353","1712a5d7":"1705","8d6fab5b":"1852","862b919c":"1878",eb4a222a:"1924","64d88247":"1926","42a2d52a":"1930","6d89e882":"2065","0c606bad":"2117",deb01925:"2204",b67c1e27:"2235","3666640d":"2351","478bdbaa":"2428","47cf1299":"2455","288be972":"2529","814f3328":"2535",c61014ee:"2637","9f566b50":"2708",e14e76e6:"2717","412d0dcd":"2726",d90256aa:"2792","3d689465":"2811","15f538d2":"2845","33d41bd9":"2912",a6aa9e1f:"3089",c3ffe627:"3280",a82ae4b6:"3346",b2077d99:"3408","1ee5418f":"3441",ed6aa310:"3480","8dcffce8":"3493","9e4087bc":"3608",c46f58ac:"3684","3720c009":"3751","89f7eff6":"3859",b5ff9dac:"3861",d901b434:"3912","9f5a0234":"3935","01a85c17":"4013",c81768bb:"4015",e090ed62:"4024","4d47ed01":"4059","55960ee5":"4121",c4f5d8e4:"4195",a76a9efb:"4233","79af5ee4":"4293","623ba558":"4309",a94703ab:"4368","643188e0":"4456","372d5e74":"4522","21a5007c":"4594","01ceaed7":"4689","071657d1":"5165","8dcef946":"5254","49bdefce":"5422","029d238f":"5432","01caaf0f":"5495","87ace188":"5511","6b0e84ee":"5640","95d556ce":"5658",b968238f:"5661",d308e083:"5703","44e999fb":"5867","2c529917":"5906",f57c53bb:"5938","6b8a5e31":"5973","700d3c8c":"5989",e0b1e863:"6001",d8243dcc:"6009","44c84a0b":"6091",ccc49370:"6103","7f8fdee3":"6107","2bd4a236":"6201",ee61f19e:"6208","09c9070b":"6257","2d0c6224":"6291","988827c1":"6325","42d8d494":"6363","4f2f9da8":"6523","53a8be8d":"6679","9ad71cb0":"6799","77e76c06":"6864","77a41ee1":"6886","70b63ca1":"6925",e3d2d278:"6972","7ae00f92":"7163",d37d5e1f:"7190","08b77381":"7285",c0e54e34:"7330",f8181f64:"7397","60341fd1":"7415","18ce1c6a":"7446","250e4531":"7494","74d64804":"7513","62a6dd2b":"7643","6f79874c":"7665","1e45470c":"7682",b7531d89:"7705","0b4c6bfa":"7768","1a4e3797":"7920","6e783428":"8013",dce6b55f:"8027","7ae921cb":"8203",e43d57a6:"8207",a8f327a5:"8315","0793a51e":"8342",c518779d:"8409",a7bd4aaa:"8518","289989ee":"8557","5fdde1d3":"8598","6875c492":"8610","6e59e873":"8695",ad790eb0:"8812","99865f9e":"8869","6a3182e9":"8873","6a7cca56":"8889","575903cb":"9148","7bf97637":"9229","48f9a884":"9255",e8a3dcc1:"9301","1daafae2":"9375","7ce11019":"9402",bbf8c7b9:"9454",fd63e11c:"9482","6ebfa8a7":"9508",eae66c4a:"9567","1ce75706":"9629","5e95c892":"9661",ede126fd:"9747","14eb3368":"9817",da26cf27:"9921",df203c0f:"9924",aefee802:"9954","24df923a":"9994"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,d)=>{var f=r.o(e,a)?e[a]:void 0;if(0!==f)if(f)d.push(f[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var c=new Promise(((d,c)=>f=e[a]=[d,c]));d.push(f[2]=c);var b=r.p+r.u(a),t=new Error;r.l(b,(d=>{if(r.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var c=d&&("load"===d.type?"missing":d.type),b=d&&d.target&&d.target.src;t.message="Loading chunk "+a+" failed.\n("+c+": "+b+")",t.name="ChunkLoadError",t.type=c,t.request=b,f[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,d)=>{var f,c,b=d[0],t=d[1],o=d[2],n=0;if(b.some((a=>0!==e[a]))){for(f in t)r.o(t,f)&&(r.m[f]=t[f]);if(o)var i=o(r)}for(a&&a(d);n