Skip to content

Commit dfd0891

Browse files
committed
add preview html code
1 parent 3a10f58 commit dfd0891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/markdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function HTMLPreview(props: { code: string }) {
7777
frameBorder={0}
7878
sandbox="allow-scripts"
7979
style={{ width: "100%", height: 400 }}
80-
srcdoc={props.code}
80+
srcDoc={props.code}
8181
></iframe>
8282
</div>
8383
);

0 commit comments

Comments
 (0)