`)
lines.push(`Deprecated`)
- if (deprecated.doc) {
+ if (renderedDeprecatedMessage) {
// We remove new lines because they look weird when rendered into the deprecated block
// I think markdown is actually supposed to collapse single new lines automatically but this function doesn't do that so if that changes remove this
- const renderedMessage = await renderMarkdown(deprecated.doc.replace(/\n/g, ' '), symbolLookup)
- lines.push(`