Skip to content

Commit

Permalink
Test another block
Browse files Browse the repository at this point in the history
  • Loading branch information
emmerich committed Apr 13, 2024
1 parent 210c563 commit ceb43c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/DocumentView/CodeBlock/highlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ export async function highlight(block: DocumentBlockCode): Promise<HighlightLine
return plainHighlighting(block);
}

if (block.key === 'dc6e6efdb1ed4981b71d5d3b02087996') {
return plainHighlighting(block);
}

// lineCount += block.nodes.length;
// if (lineCount > LINE_LIMIT) {
// // Too many lines and we risk crashing the worker, fallback to plain highlighting
Expand Down

0 comments on commit ceb43c7

Please sign in to comment.