Closed
Description
I've been testing dartdoc
in a small project I've been working on, and found some odd behaviour with regards to hyperlinks to classes within the same project not working properly ... but only within method doc strings. Property doc strings don't seem to be affected. Below is a sample snippet to show what I mean:
/// Docstring property reference [MyObject]
Future<MyObject> get myobj async {...}
/// Docstring method reference [MyObject]
Future<int> runOperation(MyObject obj) async {
In this example, the first Doctoring will generate a hyperlink to the MyObject
class (ie: from the [MyObject]
reference) but the exact same syntax in the second Doctoring will generate text that looks like inline code, similar to MyObject
in markdown.