onComment (event)
Fired when a comment section is encountered.
Syntax
- (void)onComment:(NSString*)text;
func onComment(_ text: String)
Remarks
The Comment event is fired whenever a comment section (<!-- ..text... -->) is found in the document.
The full text of the comment is provided by the Text parameter.