mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-03 04:07:32 +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([[43213],{4461:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>r,contentTitle:()=>o,default:()=>u,frontMatter:()=>l,metadata:()=>s,toc:()=>c});var s=n(48195),i=n(62540),a=n(43023);let l={mdx:{format:"md"},date:"2019-07-20T20:00"},o="2.0.0-alpha.22",r={authorsImageUrls:[]},c=[];function d(e){let t={a:"a",code:"code",li:"li",ul:"ul",...(0,a.R)(),...e.components};return(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["Add missing dependencies on ",(0,i.jsx)(t.code,{children:"@docusaurus/preset-classic"})]}),"\n",(0,i.jsxs)(t.li,{children:["New plugin ",(0,i.jsx)(t.code,{children:"@docusaurus/plugin-ideal-image"})," to generate an almost ideal image (responsive, lazy-loading, and low quality placeholder)"]}),"\n",(0,i.jsx)(t.li,{children:"Better Twitter/discord image preview. Previously the size is too zoomed"}),"\n",(0,i.jsxs)(t.li,{children:["Allow prism syntax highlighting theme customization. Refer to ",(0,i.jsx)(t.a,{href:"https://docusaurus.io/docs/markdown-features#syntax-highlighting",children:"https://docusaurus.io/docs/markdown-features#syntax-highlighting"})]}),"\n",(0,i.jsx)(t.li,{children:"CSS is now autoprefixed using postcss"}),"\n",(0,i.jsx)(t.li,{children:"Faster, lighter webpack bundle size"}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"@docusaurus/theme-live-codeblock"})," is now much smaller in size and no longer only load on viewport"]}),"\n",(0,i.jsx)(t.li,{children:"Blog markdown files now support using the id field to specify the path"}),"\n"]})}function u(e={}){let{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},43023:(e,t,n)=>{n.d(t,{R:()=>l,x:()=>o});var s=n(63696);let i={},a=s.createContext(i);function l(e){let t=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),s.createElement(a.Provider,{value:t},e.children)}},48195: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/5"}')}}]); |