Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for super and subscript? +1 #112

Open
Unknow0059 opened this issue Sep 19, 2020 · 1 comment
Open

Support for super and subscript? +1 #112

Unknow0059 opened this issue Sep 19, 2020 · 1 comment

Comments

@Unknow0059
Copy link

Unknow0059 commented Sep 19, 2020

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 Unknow0059 changed the title Support for super and subscript? Support for super and subscript? +1 Sep 20, 2020
@yoonsjeong
Copy link

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants