Skip to content

Commit 8d801bb

Browse files
committed
feat: enable language detection in code blocks
1 parent 246a64f commit 8d801bb

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
@@ -149,7 +149,7 @@ function _MarkDownContent(props: { content: string }) {
149149
[
150150
RehypeHighlight,
151151
{
152-
detect: false,
152+
detect: true,
153153
ignoreMissing: true,
154154
},
155155
],

0 commit comments

Comments
 (0)