@@ -30,7 +30,7 @@ const config: Config = {
3030 defaultLocale : "en" ,
3131 locales : [ "en" ] ,
3232 } ,
33-
33+ plugins : [ "plugin-image-zoom" ] ,
3434 presets : [
3535 [
3636 "classic" ,
@@ -63,14 +63,14 @@ const config: Config = {
6363 } satisfies Preset . Options ,
6464 ] ,
6565 ] ,
66-
66+ themes : [ "@saucelabs/theme-github-codeblock" ] ,
6767 themeConfig : {
6868 // Replace with your project's social card
6969 image : "img/docusaurus-social-card.jpg" ,
7070 navbar : {
71- title : "My Site " ,
71+ title : "Basit Jamil " ,
7272 logo : {
73- alt : "My Site Logo" ,
73+ alt : "Basit Jamil Site Logo" ,
7474 src : "img/logo.svg" ,
7575 } ,
7676 items : [
@@ -82,7 +82,7 @@ const config: Config = {
8282 } ,
8383 { to : "/blog" , label : "Blog" , position : "left" } ,
8484 {
85- href : "https://github.com/facebook/docusaurus " ,
85+ href : "https://github.com/ChBasitGill " ,
8686 label : "GitHub" ,
8787 position : "right" ,
8888 } ,
@@ -137,6 +137,19 @@ const config: Config = {
137137 theme : prismThemes . github ,
138138 darkTheme : prismThemes . dracula ,
139139 } ,
140+ imageZoom : {
141+ // CSS selector to apply the plugin to, defaults to '.markdown img'
142+ selector : ".markdown img" ,
143+ // Optional medium-zoom options
144+ // see: https://www.npmjs.com/package/medium-zoom#options
145+ options : {
146+ margin : 24 ,
147+ background : "#BADA55" ,
148+ scrollOffset : 0 ,
149+ container : "#zoom-container" ,
150+ template : "#zoom-template" ,
151+ } ,
152+ } ,
140153 } satisfies Preset . ThemeConfig ,
141154} ;
142155
0 commit comments