|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
|
|
|
|
|
// import { Marp } from '@marp-team/marp-core';
|
|
// import { Marp } from '@marp-team/marp-core';
|
|
|
// import { Element } from '@marp-team/marpit';
|
|
// import { Element } from '@marp-team/marpit';
|
|
|
-// import Head from 'next/head';
|
|
|
|
|
|
|
+import Head from 'next/head';
|
|
|
import ReactMarkdown from 'react-markdown';
|
|
import ReactMarkdown from 'react-markdown';
|
|
|
|
|
|
|
|
import type { PresentationOptions } from '../consts';
|
|
import type { PresentationOptions } from '../consts';
|
|
@@ -46,9 +46,9 @@ export const Slides = (props: Props): JSX.Element => {
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
<>
|
|
<>
|
|
|
- {/* <Head>
|
|
|
|
|
- <style>{css}</style>
|
|
|
|
|
- </Head> */}
|
|
|
|
|
|
|
+ <Head>
|
|
|
|
|
+ {/* <style>{css}</style> */}
|
|
|
|
|
+ </Head>
|
|
|
<ReactMarkdown {...rendererOptions}>
|
|
<ReactMarkdown {...rendererOptions}>
|
|
|
{ children ?? '## No Contents' }
|
|
{ children ?? '## No Contents' }
|
|
|
</ReactMarkdown>
|
|
</ReactMarkdown>
|