Open
Description
/**
* [title](link) some text (in brackets)
*/
export interface I {}
==>
/// <summary><see cref="link) some text (in brackets">title</see></summary>
type [<AllowNullLiteral>] I =
interface end
seems like error in regex: greedy, instead of lazy.
But lazy would probably cause issues when link contains brackets and would match these.
And probably further issue:
doesn't recognize escaped chars:
/**
* [title](li\)nk) some text
*/
export interface I {}
==>
/// <summary><see cref="li\)nk">title</see> some text</summary>
type [<AllowNullLiteral>] I =
interface end
link shouldn't contain \
.
And most likely even more stuff that's not great or easy with just regex. (-> use a real markdown/jsdoc parser?)