reiji-h 2 лет назад
Родитель
Сommit
64cbcf6305

+ 1 - 1
packages/presentation/src/components/GrowiSlides.tsx

@@ -21,7 +21,7 @@ export const GrowiSlides = (props: Props): JSX.Element => {
     rendererOptions, isDarkMode, disableSeparationByHeader,
   } = options;
 
-  rendererOptions.remarkPlugins?.push([
+  rendererOptions?.remarkPlugins?.push([
     extractSections.remarkPlugin,
     {
       isDarkMode,

+ 1 - 0
packages/presentation/src/components/Presentation.tsx

@@ -18,6 +18,7 @@ const baseRevealOptions: Reveal.Options = {
   height: 720,
   maxScale: 1.2,
   slideNumber: 'c/t',
+  display: '',
 };
 
 /**

+ 1 - 1
packages/presentation/src/components/Slides.global.scss

@@ -1,4 +1,4 @@
-div.marpit > div.slides > section :is(pre, marp-pre) {
+div.slides.marpit > section :is(pre, marp-pre) {
   padding: 0;
   border: none;
 }