We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7805ad commit ccd313cCopy full SHA for ccd313c
scripts/blog-page.jsx
@@ -1,5 +1,6 @@
1
import React from "react";
2
import * as pageMinimal from "nacara-layout-standard/dist/Page.Minimal.js";
3
+import { rehypePlugins, remarkPlugins } from "nacara-layout-standard/dist/Page.Standard.js";
4
5
const AuthorImage = ({ imageLink }) => {
6
return <figure className="image is-96x96 author-image">
@@ -63,7 +64,9 @@ const render = async (rendererContext, pageContext) => {
63
64
const pageContent =
65
await rendererContext.MarkdownToHtml(
66
pageContext.Content,
- pageContext.RelativePath
67
+ pageContext.RelativePath,
68
+ remarkPlugins,
69
+ rehypePlugins
70
);
71
72
return pageMinimal.render(
0 commit comments