mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 10:52:35 +02:00
1 line
No EOL
2.6 KiB
JavaScript
1 line
No EOL
2.6 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["44516"],{88901:function(e,n,t){t.r(n),t.d(n,{assets:()=>r,contentTitle:()=>l,default:()=>u,frontMatter:()=>o,metadata:()=>s,toc:()=>c});var s=t(31827),i=t(85893),a=t(80980);let o={mdx:{format:"md"},date:"2019-07-20T20:00"},l="2.0.0-alpha.22",r={authorsImageUrls:[]},c=[];function d(e){let n={a:"a",code:"code",li:"li",ul:"ul",...(0,a.a)(),...e.components};return(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Add missing dependencies on ",(0,i.jsx)(n.code,{children:"@docusaurus/preset-classic"})]}),"\n",(0,i.jsxs)(n.li,{children:["New plugin ",(0,i.jsx)(n.code,{children:"@docusaurus/plugin-ideal-image"})," to generate an almost ideal image (responsive, lazy-loading, and low quality placeholder)"]}),"\n",(0,i.jsx)(n.li,{children:"Better Twitter/discord image preview. Previously the size is too zoomed"}),"\n",(0,i.jsxs)(n.li,{children:["Allow prism syntax highlighting theme customization. Refer to ",(0,i.jsx)(n.a,{href:"https://docusaurus.io/docs/markdown-features#syntax-highlighting",children:"https://docusaurus.io/docs/markdown-features#syntax-highlighting"})]}),"\n",(0,i.jsx)(n.li,{children:"CSS is now autoprefixed using postcss"}),"\n",(0,i.jsx)(n.li,{children:"Faster, lighter webpack bundle size"}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"@docusaurus/theme-live-codeblock"})," is now much smaller in size and no longer only load on viewport"]}),"\n",(0,i.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,a.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},80980:function(e,n,t){t.d(n,{Z:()=>l,a:()=>o});var s=t(67294);let i={},a=s.createContext(i);function o(e){let n=s.useContext(a);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:o(e.components),s.createElement(a.Provider,{value:n},e.children)}},31827:function(e){e.exports=JSON.parse('{"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":true,"authors":[],"frontMatter":{"mdx":{"format":"md"},"date":"2019-07-20T20:00"},"unlisted":false,"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/6"}')}}]); |