Skip to content

Commit 1882fa0

Browse files
committed
fixed markdown
1 parent d5b111b commit 1882fa0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/routes/MdxRoute.res

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,9 @@ let default = () => {
254254
<title> {React.string(attributes.metaTitle->Nullable.getOr(attributes.title))} </title>
255255
<meta name="description" content={attributes.description->Nullable.getOr("")} />
256256
{if (pathname :> string) == "/docs/manual/api" {
257-
<ApiOverviewLayout.Docs> {component()} </ApiOverviewLayout.Docs>
257+
<ApiOverviewLayout.Docs>
258+
<div className="markdown-body"> {component()} </div>
259+
</ApiOverviewLayout.Docs>
258260
} else if (
259261
(pathname :> string)->String.includes("docs/manual") ||
260262
(pathname :> string)->String.includes("docs/react")

0 commit comments

Comments
 (0)