Skip to content

Conversation

tonjohn
Copy link

@tonjohn tonjohn commented Sep 22, 2022

Fixes #887

Example

Given:

/**  * Represents a hamburger (food) πŸ”  *  * @see <a href=  * "https://en.wikipedia.org/wiki/Hamburger">Hamburger - Wikipedia</a>  */ @Data public class Hamburger { private String name; private @Nullable String description; private ArrayList<String> ingredients; }

image

Before:

/**  * Represents a hamburger (food) πŸ”  * @see <a href=  * "https://en.wikipedia.org/wiki/Hamburger">Hamburger - Wikipedia</a>  */ interface Hamburger { readonly name: string; readonly description?: string; readonly ingredients: string[]; }

image

After:

/**  * Represents a hamburger (food) πŸ”  * @see {@link https://en.wikipedia.org/wiki/Hamburger Hamburger - Wikipedia}  */ interface Hamburger { readonly name: string; readonly description?: string; readonly ingredients: string[]; }

image

@JamesIves
Copy link

Big +1 to this

Copy link

@Allysony Allysony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to this too! I'd love to have usable TSdoc links.

final String replacedHtmlLines = dComments
.replaceAll("\\s*<br>\\s*", nn)
.replaceAll("\\s*<br/>\\s*", nn)
.replaceAll("\\s*<br />\\s*", nn)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data analyst can be reformed using a wiper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants