diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-06-18 23:53:25 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-06-19 17:56:23 +0200 |
| commit | 49b0f4a3fb0064313d16782839865b763ef760ce (patch) | |
| tree | a58439f1433de9ff66dc0be28f025afe56e79cfe /Sources/NorgUI/Views/Blocks/ParagraphView.swift | |
| parent | cb91a73bfc845d74c3e4d1115bce5dfed10d456d (diff) | |
Support Math rendering1.2.0
Diffstat (limited to 'Sources/NorgUI/Views/Blocks/ParagraphView.swift')
| -rw-r--r-- | Sources/NorgUI/Views/Blocks/ParagraphView.swift | 4 |
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) } } |