Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit b683a8d

Browse files
committed
Update use of CommonMark builder interface
1 parent 0fcf404 commit b683a8d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Sources/swift-doc/Supporting Types/Components/Abstract.swift

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@ struct Abstract: Component {
1919
if let summary = symbol.documentation?.summary {
2020
return Fragment {
2121
List.Item {
22-
Paragraph {
23-
Link(urlString: path(for: symbol, with: baseURL), text: symbol.id.description)
24-
Text { ":" }
25-
}
26-
2722
Fragment {
28-
summary
23+
#"""
24+
[\#(symbol.id)](\#(path(for: symbol, with: baseURL))):
25+
\#(summary)
26+
"""#
2927
}
3028
}
3129
}

0 commit comments

Comments
 (0)