aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Markdown/Section.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Markdown/Section.tsx b/src/lib/Markdown/Section.tsx
index 987b771..1fcc46f 100644
--- a/src/lib/Markdown/Section.tsx
+++ b/src/lib/Markdown/Section.tsx
@@ -1,5 +1,6 @@
import React from 'react';
import ContentSection from '../ContentSection/ContentSection';
+import { Typography } from '@material-ui/core';
import Content from './Content';
import { ParserPropTypes } from './types';
@@ -32,7 +33,7 @@ const Section: React.FC<PropTypes> = ({ rawLines, level = 0 }) => {
if (!level) return (
<>
- <Content rawLines={rawContent} />
+ <Typography> <Content rawLines={rawContent} /> </Typography>
<ChildrenSections rawLines={rawLines} level={getHeaderLevel(rawLines[0])}/>
</>
)