diff options
| author | Christian Cleberg <[email protected]> | 2026-03-30 16:44:49 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-03-30 16:44:49 -0500 |
| commit | 02fbc13ddb5b66ecf1d0dff3e7173a845984e006 (patch) | |
| tree | d2263b511a3031a55f31b4f6cbb1198c38001d38 /HutchTests | |
| parent | ddb310ed15fcd693a5487e5f38b5ba74cdf27843 (diff) | |
| download | hutch-2.5.0.tar.gz hutch-2.5.0.tar.bz2 hutch-2.5.0.zip | |
feat(markdown): finalize migration to apple/swift-markdown rendererv2.5.0
Diffstat (limited to 'HutchTests')
| -rw-r--r-- | HutchTests/ReadmeViewTests.swift | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/HutchTests/ReadmeViewTests.swift b/HutchTests/ReadmeViewTests.swift index e9bab0b..8cced03 100644 --- a/HutchTests/ReadmeViewTests.swift +++ b/HutchTests/ReadmeViewTests.swift @@ -55,6 +55,16 @@ struct MarkdownRenderingTests { } @Test + func markdownTableAlignment() { + let input = "| Left | Center | Right |\n|:-----|:------:|------:|\n| a | b | c |" + let html = markdownToHTML(input) + + #expect(html.contains("text-align: left;")) + #expect(html.contains("text-align: center;")) + #expect(html.contains("text-align: right;")) + } + + @Test func markdownStrikethrough() { let html = markdownToHTML("~~deleted~~") |
