From 657aa83a5ca24dc35572c040df64a0abb85e8612 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Mon, 15 Jun 2026 14:35:36 +0200 Subject: Initial extraction from Norganize --- Sources/NorgUI/Views/Blocks/CodeBlockView.swift | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Sources/NorgUI/Views/Blocks/CodeBlockView.swift (limited to 'Sources/NorgUI/Views/Blocks/CodeBlockView.swift') diff --git a/Sources/NorgUI/Views/Blocks/CodeBlockView.swift b/Sources/NorgUI/Views/Blocks/CodeBlockView.swift new file mode 100644 index 0000000..2f1ebfb --- /dev/null +++ b/Sources/NorgUI/Views/Blocks/CodeBlockView.swift @@ -0,0 +1,10 @@ +import SwiftUI + +struct CodeBlockView: View { + let language: String? + let code: String + + var body: some View { + VerbatimBlock(label: language, content: code) + } +} -- cgit