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 8028002 commit 074081aCopy full SHA for 074081a
Sources/SwiftDocC/Model/Rendering/Content/RenderBlockContent.swift
@@ -161,8 +161,13 @@ public enum RenderBlockContent: Equatable {
161
}
162
163
public struct LineAnnotation: Equatable, Codable {
164
- var style: String
165
- var range: Range<Position>
+ public var style: String
+ public var range: Range<Position>
166
+
167
+ public init(style: String, range: Range<Position>) {
168
+ self.style = style
169
+ self.range = range
170
+ }
171
172
173
public enum OptionName: String, CaseIterable {
0 commit comments