Skip to content

Commit 0d647fe

Browse files
committed
docs: Evaluate description in table
1 parent 0057b84 commit 0d647fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/ReferenceTable/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
PropSidebarItemCategory,
88
} from "@docusaurus/plugin-content-docs";
99
import { useDocById } from "@docusaurus/plugin-content-docs/client";
10+
import { MarkdownString } from "../MarkdownString";
1011

1112
function buildPropertyUrl(property: Page) {
1213
let url = "";
@@ -31,7 +32,7 @@ const ReferenceRow: React.FC<ReferenceRowProps> = ({ property, showJson }) => {
3132
<CodeBadge name={mainName} type={javaScriptOnly ? 'js' : 'all' } />
3233
</a>
3334
</td>
34-
<td>{property.prop("description", "")}</td>
35+
<td><MarkdownString content={property.prop("description", "")} /></td>
3536
</tr>
3637
);
3738
};

0 commit comments

Comments
 (0)