docusaurus/assets/js/9e151db7.3944e0cd.js

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:()=>a,default:()=>u,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var s=t(24246),i=t(71670);const o={mdx:{format:"md"},date:"2019-07-20T20:00"},a="2.0.0-alpha.22",l={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){const 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={}){const{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:()=>l,a:()=>a});var s=t(27378);const i={},o=s.createContext(i);function a(e){const n=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),s.createElement(o.Provider,{value:n},e.children)}}}]);