docusaurus/assets/js/9e151db7.9cac629e.js

1 line
No EOL
2.6 KiB
JavaScript

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