You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// CHECK: {{.*}}DocCommentAsXML=[<Function file="{{.*}}" line="{{.*}}" column="{{.*}}"><Name>f0()</Name><USR>c:@M@comment_to_xml@objc(cs)Attributes(im)f0</USR><Declaration>@objc public func f0()</Declaration><CommentParts><Abstract><Para>Here is an attribute:</Para></Abstract><Discussion><Para><InlineAttributes attributes="string: "attributed"">Attribute text</InlineAttributes></Para></Discussion></CommentParts></Function>]
72
+
}
73
+
65
74
@objcpublicclassAutomaticLink{
66
75
// CHECK: {{.*}}DocCommentAsXML=none
67
76
/// And now for a URL.
@@ -198,6 +207,18 @@ public enum A012_AttachToEntities {
198
207
// CHECK: {{.*}}DocCommentAsXML=[<Function file="{{.*}}" line="{{.*}}" column="{{.*}}"><Name>f4()</Name><USR>c:@M@comment_to_xml@objc(cs)EmptyComments(im)f4</USR><Declaration>@objc public func f4()</Declaration><CommentParts><Abstract><Para>Aaa.</Para></Abstract></CommentParts></Function>]
199
208
}
200
209
210
+
@objcpublicclassFootnotes{
211
+
// CHECK: {{.*}}DocCommentAsXML=none
212
+
/// Has some footnotes.
213
+
///
214
+
/// Footnotes aren't handled by swiftMarkup yet[^footnote], but they may in the future.
215
+
///
216
+
/// [^footnote]: Footnotes aren't parsed by default in swift-cmark, and swiftMarkup doesn't
217
+
/// enable the feature.
218
+
@objcpublicfunc f0(){}
219
+
// CHECK: {{.*}}DocCommentAsXML=[<Function file="{{.*}}" line="{{.*}}" column="{{.*}}"><Name>f0()</Name><USR>c:@M@comment_to_xml@objc(cs)Footnotes(im)f0</USR><Declaration>@objc public func f0()</Declaration><CommentParts><Abstract><Para>Has some footnotes.</Para></Abstract><Discussion><Para>Footnotes aren’t handled by swiftMarkup yet[^footnote], but they may in the future.</Para><Para>[^footnote]: Footnotes aren’t parsed by default in swift-cmark, and swiftMarkup doesn’t enable the feature.</Para></Discussion></CommentParts></Function>]
0 commit comments