Yuki Takei 3 лет назад
Родитель
Сommit
f0b3d2a9dd
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      packages/presentation/src/components/PresentationWithReveal.tsx

+ 4 - 1
packages/presentation/src/components/PresentationWithReveal.tsx

@@ -17,7 +17,10 @@ export const Presentation = (props: Props): JSX.Element => {
 
   useEffect(() => {
     if (children != null) {
-      Reveal.initialize();
+      Reveal.initialize({
+        hash: true,
+        pageNumber: true,
+      });
     }
   }, [children]);