', '\n')
.replaceAllMapped(
RegExp(r'\(.*?)\<\/i\>'),
(Match match) => '*${match[1]}*',
)
.replaceAllMapped(
RegExp(r'\\
(.*?)\<\/code\>\<\/pre\>', dotAll: true),
(Match match) => match[1]?.trimRight() ?? '',
)
.replaceAllMapped(
RegExp(r'\.*?\<\/a\>'),
(Match match) => match[1] ?? '',
)
.replaceAll('\n', '\n\n');
}
}