From 49b0f4a3fb0064313d16782839865b763ef760ce Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Thu, 18 Jun 2026 23:53:25 +0200 Subject: Support Math rendering --- Sources/NorgUI/Views/Blocks/ParagraphView.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Sources/NorgUI/Views/Blocks/ParagraphView.swift') diff --git a/Sources/NorgUI/Views/Blocks/ParagraphView.swift b/Sources/NorgUI/Views/Blocks/ParagraphView.swift index 2ad0dd5..d117ccc 100644 --- a/Sources/NorgUI/Views/Blocks/ParagraphView.swift +++ b/Sources/NorgUI/Views/Blocks/ParagraphView.swift @@ -2,11 +2,9 @@ import NorgKit import SwiftUI struct ParagraphView: View { - @Environment(\.norgTheme) private var theme - let content: [InlineSpan] var body: some View { - Text(AttributedString(norg: content, theme: theme)) + NorgInlineText(spans: content) } } -- cgit