MarkdownLivePreview icon indicating copy to clipboard operation
MarkdownLivePreview copied to clipboard

Support for super and subscript? +1

Open Unknow0059 opened this issue 5 years ago • 2 comments

In this gist one can see that GitHub's implementation of Markdown supports super and subscript through the <sub> and <sup> tags, but these don't seem to do anything in MarkdownLivePreview.

It would also be convenient if there were footnote support. References are already supported so I don't see why not this.

Unknow0059 avatar Sep 19 '20 10:09 Unknow0059

If anyone wants to help resolve this issue, some testing reveals that minihtml can support super and subscripts with some simple styling:

Non-superscript text. <span style="font-size:.75rem;position:relative;bottom:0.5em">Superscript text.</span>
Non-subscript text. <span style="font-size:.75rem;position:relative;top:0.5em">Subscript text.</span>

yoonsjeong avatar Feb 10 '25 23:02 yoonsjeong

Feel free to submit a PR if you want to this happen, I won't take the time to work on it.

math2001 avatar Apr 12 '25 00:04 math2001