function renderStringAsPlaintext(string) {
    return typeof string === 'string' ? string : renderMarkdownAsPlaintext(string);
}
Strips all markdown from `string`, if it's an IMarkdownString. For example
`# Header` would be output as `Header`. If it's not, the string is returned.