import Testing import AppKit @testable import EdmundCore @Suite("DocumentHTML — assembly & asset inlining") @MainActor struct DocumentHTMLTests { private func doc(_ md: String, dark: Bool = false) -> String { DocumentHTML.full(markdown: md, theme: .default, callouts: Callout.defaultStyles, dark: dark) } @Test("Wraps body in a full self-contained document") func wrapper() { let out = doc("# Hi") #expect(out.hasPrefix("")) #expect(out.contains("