Skip to content

Commit

Permalink
50 code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
emmerich committed Apr 13, 2024
1 parent c7ffeec commit 8fc272c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DocumentView/CodeBlock/highlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export async function highlight(block: DocumentBlockCode): Promise<HighlightLine
lineCount += block.nodes.length;
blockCount += 1;

if (blockCount >= 100) {
if (blockCount >= 50) {
return plainHighlighting(block);
}

Expand Down

0 comments on commit 8fc272c

Please sign in to comment.