There is clearly something that I am not getting. I am trying to use superscript in a markdown note with html markup. I can get superscript with html markup if the note has no prototype. But, if the note’s prototype is Markdown, the raw HTML is rejected.
This seems to be a quirk of the CommonMark flavour of Markdown. Select the Markdown prototypes and change the value of $HTMLPreviewCommand from the default CommonMark to Markdown.
Why CommonMark fails in this context is probably best asked in a CommonMark forum.
One suggestion is that CommonMark’s specs state ‘raw html’ must be on a discrete line. Which in the above case, of course it can’t.
It took years for HTML itself to settle down but is now pretty solid. Markdown is still young and—rather akin to the early browser wars—has many flavours that choose to do things differently. In the meantime just using HTML without Markdown works just fine, in terms of export. (and Yes ,I do realise Markdown offers some additional benefits aside for export fidelity).
It turns out that CommonMark has an option to permit “unsafe” embedded HTML. As there’s no opportunity for others to insert unwanted HTML in your Tinderbox documents, I believe we’ll support this in the next release.