aboutsummaryrefslogtreecommitdiff
path: root/Sources/NorgUI/Views/Blocks/ParagraphView.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <jj@r.bdr.sh>2026-06-18 23:53:25 +0200
committerRuben Beltran del Rio <jj@r.bdr.sh>2026-06-19 17:56:23 +0200
commit49b0f4a3fb0064313d16782839865b763ef760ce (patch)
treea58439f1433de9ff66dc0be28f025afe56e79cfe /Sources/NorgUI/Views/Blocks/ParagraphView.swift
parentcb91a73bfc845d74c3e4d1115bce5dfed10d456d (diff)
Support Math rendering1.2.0
Diffstat (limited to 'Sources/NorgUI/Views/Blocks/ParagraphView.swift')
-rw-r--r--Sources/NorgUI/Views/Blocks/ParagraphView.swift4
1 files changed, 1 insertions, 3 deletions
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)
}
}