We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6e0b870 + 21211ec commit b49ee28Copy full SHA for b49ee28
README.md
@@ -161,14 +161,14 @@ const options = {
161
162
if (attribs.id === 'main') {
163
return (
164
- <h1 style={{ fontSize: 42 }}>{domToReact(children, parserOptions)}</h1>
+ <h1 style={{ fontSize: 42 }}>{domToReact(children, options)}</h1>
165
);
166
}
167
168
if (attribs.class === 'prettify') {
169
170
<span style={{ color: 'hotpink' }}>
171
- {domToReact(children, parserOptions)}
+ {domToReact(children, options)}
172
</span>
173
174
0 commit comments