extensions/typescript-language-features/src/utils/previewer.ts/addMarkdownDocumentation
export function addMarkdownDocumentation(
	out: vscode.MarkdownString,
	documentation: Proto.SymbolDisplayPart[] | string | undefined,
	tags: Proto.JSDocTagInfo[] | undefined,
	converter: IFilePathToResourceConverter,
): vscode.MarkdownString {
	if (documentation) {
		out.appendMarkdown(plainWithLinks(documentation, converter));
	}

	if (tags) {
		const tagsPreview = tagsMarkdownPreview(tags, converter);
		if (tagsPreview) {
			out.appendMarkdown('\n\n' + tagsPreview);
		}
	}
	return out;
}