Adds OrgSwiftUI, a second product that renders org as native SwiftUI
views instead of HTML in a web view: selectable text, Dynamic Type,
VoiceOver, and no WKWebView. OrgSwift stays Foundation-only, so callers
who want HTML never import SwiftUI.
import OrgSwiftUI
OrgView(source, options: options, styler: myHighlighter)
Covers every OrgElement case — recursive lists with checkboxes and
description terms, tables in a Grid with org's column alignments and
horizontal overflow scrolling, AsyncImage figures, and the footnote
section. Syntax highlighting arrives through OrgCodeStyler, the native
counterpart to CodeHighlighter, so the package keeps no dependencies.
Fixes
OrgAttributedStringRenderer emitted .file link targets as raw
relative paths and footnote references as their label, so a natively
rendered README got broken links and unnumbered notes.
- Nested emphasis was flattened:
*bold /italic/* rendered bold only.
OrgHTMLTreeRenderer claimed Sendable while holding a
CodeHighlighter, which a real implementation backs with a
thread-confined engine. The package is warning-free under strict
concurrency now.
Divergence from HTML
An image source that will not resolve to an absolute URL degrades to its
alt text; HTML can emit a relative src for a document base to resolve,
and a view has no base. #+BEGIN_EXPORT html renders as the literal block
it is rather than passing through.
Corpus conformance is unchanged at 11/12.