mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-04 20:02:54 +02:00
1 line
No EOL
2.5 KiB
JavaScript
1 line
No EOL
2.5 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[83861],{13704:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>r,contentTitle:()=>l,default:()=>u,frontMatter:()=>a,metadata:()=>o,toc:()=>c});var s=t(24246),i=t(71670);let a={mdx:{format:"md"},date:"2019-07-20T20:00"},l="2.0.0-alpha.22",o={permalink:"/changelog/2.0.0-alpha.22",source:"@site/changelog/source/2.0.0-alpha.22.md",title:"2.0.0-alpha.22",description:"- Add missing dependencies on @docusaurus/preset-classic",date:"2019-07-20T20:00:00.000Z",tags:[],hasTruncateMarker:!0,authors:[],frontMatter:{mdx:{format:"md"},date:"2019-07-20T20:00"},unlisted:!1,prevItem:{title:"2.0.0-alpha.23",permalink:"/changelog/2.0.0-alpha.23"},nextItem:{title:"2.0.0-alpha.21",permalink:"/changelog/2.0.0-alpha.21"},listPageLink:"/changelog/page/5"},r={authorsImageUrls:[]},c=[];function d(e){let n={a:"a",code:"code",li:"li",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["Add missing dependencies on ",(0,s.jsx)(n.code,{children:"@docusaurus/preset-classic"})]}),"\n",(0,s.jsxs)(n.li,{children:["New plugin ",(0,s.jsx)(n.code,{children:"@docusaurus/plugin-ideal-image"})," to generate an almost ideal image (responsive, lazy-loading, and low quality placeholder)"]}),"\n",(0,s.jsx)(n.li,{children:"Better Twitter/discord image preview. Previously the size is too zoomed"}),"\n",(0,s.jsxs)(n.li,{children:["Allow prism syntax highlighting theme customization. Refer to ",(0,s.jsx)(n.a,{href:"https://docusaurus.io/docs/markdown-features#syntax-highlighting",children:"https://docusaurus.io/docs/markdown-features#syntax-highlighting"})]}),"\n",(0,s.jsx)(n.li,{children:"CSS is now autoprefixed using postcss"}),"\n",(0,s.jsx)(n.li,{children:"Faster, lighter webpack bundle size"}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.code,{children:"@docusaurus/theme-live-codeblock"})," is now much smaller in size and no longer only load on viewport"]}),"\n",(0,s.jsx)(n.li,{children:"Blog markdown files now support using the id field to specify the path"}),"\n"]})}function u(e={}){let{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},71670:(e,n,t)=>{t.d(n,{Z:()=>o,a:()=>l});var s=t(27378);let i={},a=s.createContext(i);function l(e){let n=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]); |