Skip to content

Commit 06cb361

Browse files
committed
Reference the function from CodeHighlighting
1 parent e61b0ac commit 06cb361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tool/Sources/SharedUIComponents/CodeBlock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public struct CodeBlock: View {
9595
font: NSFont,
9696
droppingLeadingSpaces: Bool
9797
) -> (code: [NSAttributedString], commonLeadingSpaceCount: Int) {
98-
return highlighted(
98+
return CodeHighlighting.highlighted(
9999
code: code,
100100
language: language,
101101
scenario: scenario,

0 commit comments

Comments
 (0)