File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed
SwiftDocC.docc/SwiftDocC/RenderingModel Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ extension RenderInlineContent {
176
176
/// more sense to use the `rawIndexableTextContent` function that does use `RenderReference`
177
177
/// for a more accurate textual representation of `RenderInlineContent.image` and
178
178
/// `RenderInlineContent.reference`.
179
- var plainText : String {
179
+ public var plainText : String {
180
180
switch self {
181
181
case let . codeVoice( code) :
182
182
return code
@@ -213,7 +213,7 @@ extension Sequence where Element == RenderInlineContent {
213
213
/// more sense to use the `rawIndexableTextContent` function that does use `RenderReference`
214
214
/// for a more accurate textual representation of `RenderInlineContent.image` and
215
215
/// `RenderInlineContent.reference`.
216
- var plainText : String {
216
+ public var plainText : String {
217
217
return map { $0. plainText } . joined ( )
218
218
}
219
219
}
Original file line number Diff line number Diff line change
1
+ # `` SwiftDocC/RenderInlineContent ``
2
+
3
+ ## Topics
4
+
5
+ ### Inline content types
6
+
7
+ - `` codeVoice(code:) ``
8
+ - `` emphasis(inlineContent:) ``
9
+ - `` image(identifier:metadata:) ``
10
+ - `` inlineHead(inlineContent:) ``
11
+ - `` newTerm(inlineContent:) ``
12
+ - `` reference(identifier:isActive:overridingTitle:overridingTitleInlineContent:) ``
13
+ - `` strikethrough(inlineContent:) ``
14
+ - `` strong(inlineContent:) ``
15
+ - `` subscript(inlineContent:) ``
16
+ - `` superscript(inlineContent:) ``
17
+ - `` text(_:) ``
18
+
19
+ ### Getting a plain text representation
20
+
21
+ - `` plainText ``
22
+
23
+ <!-- Copyright (c) 2022 Apple Inc and the Swift Project authors. All Rights Reserved. -->
You can’t perform that action at this time.
0 commit comments