We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a491ca commit 17d953dCopy full SHA for 17d953d
Sources/PeripheryKit/Results/MarkdownFormatter.swift
@@ -16,14 +16,15 @@ final class MarkdownFormatter: OutputFormatter {
16
17
let formattedResults = results.flatMap { result in
18
describe(result, colored: colored).map { location, description in
19
- "| \(locationDescription(location)) | \(description) |"
+ "| **\(description)**<br>\(locationDescription(location)) |"
20
}
21
22
.joined(separator: "\n")
23
+ let title = results.count == 1 ?"Result" : "Results"
24
25
return """
- | Location | Result |
26
- | :- | :- |
+ | \(results.count) \(title) |
27
+ | :- |
28
\(formattedResults)
29
"""
30
0 commit comments