Create a gist now

Instantly share code, notes, and snippets.

superscript test

This is some superscript text.

@seinecle

Great!

@CamiloMM

<sub>script works as well.

@mikermcneil

thanks!

@mikermcneil

You can wrap this stuff in other non-HTML markers as well, looks likesome subscript, e.g.:

Ai
Bz
Xn

@alex7217

2 legit

@xdumaine

wowsuperscriptkeepsongoing

@wayou

subsup

@adishavit

01ABC

@riuri

0t x2 dx

@studenton

Thanks a lot.

@webhacking

고마워용잘쓸게용후루루루룩쓸말없네

@gaurav21r

<sup> <sub> script

@lovetoken

사합 니다. ㅋ

@bkowshik

How to get a superscript inside a code snippet like below;

Choose y - (y<sup>2</sup> - k) / 2y as the next guess.

@rindeal

@bkowshik
Choose <code>y - (y<sup>2</sup> - k) / 2y</code> as the next guess.
Choose y - (y2 - k) / 2y as the next guess.

@donizyo

A2

@donizyo

A2
Looks nice, thanks

@donizyo

but what if i want to add subscript in code block?

A<sub>1</sub>

what should i do?

@rowanc1

<code>A<sub>1</sub></code> evaluates to A1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment