This commit is contained in:
parent
98679a6aac
commit
0d35db3843
@ -42,14 +42,13 @@ export default ((opts: Options) => {
|
|||||||
}(remark_config.components||["embed"], document);
|
}(remark_config.components||["embed"], document);
|
||||||
`
|
`
|
||||||
|
|
||||||
return async (tree: Root, file) => {
|
return (
|
||||||
<>
|
<>
|
||||||
<hr />
|
|
||||||
<div id="remark42" style="margin-top: 2rem"></div>
|
<div id="remark42" style="margin-top: 2rem"></div>
|
||||||
<script dangerouslySetInnerHTML={{ __html: remarkConfig }}></script>
|
<script dangerouslySetInnerHTML={{ __html: remarkConfig }}></script>
|
||||||
<script dangerouslySetInnerHTML={{ __html: embedScript }}></script>
|
<script dangerouslySetInnerHTML={{ __html: embedScript }}></script>
|
||||||
</>
|
</>
|
||||||
}
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
return Remark
|
return Remark
|
||||||
|
Loading…
Reference in New Issue
Block a user