We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4720348 commit 2bd441fCopy full SHA for 2bd441f
src/components/contentTypes/InText.jsx
@@ -22,7 +22,7 @@ function InText(props) {
22
showTranslation
23
} = props
24
25
- const { content } = subchapterDoc
+ const { title, content } = subchapterDoc
26
27
let html = marked(content)
28
const contentWidth = useWindowDimensions().width
@@ -48,7 +48,10 @@ function InText(props) {
48
}
49
50
return (
51
- <View>
+ <View style={{ padding: 5 }}>
52
+ <Text h2 h2Style={globalStyles.subchapter}>
53
+ {title}
54
+ </Text>
55
<HTML
56
renderers={{ intext: { renderer: inTextRenderer, wrapper: 'Text' } }}
57
html={html}
0 commit comments