Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
superscript test

This is some superscript text.

seinecle commented Mar 1, 2013

Great!

CamiloMM commented Jun 7, 2013

script works as well.

thanks!

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

Ai
Bz
Xn

2 legit

wowsuperscriptkeepsongoing

wayou commented Oct 30, 2014

subsup

01ABC

riuri commented Sep 14, 2015

0t x2 dx

Thanks a lot.

x2

H2O

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

<sup> <sub> script

사합 니다. ㅋ

bkowshik commented Feb 4, 2016

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

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

rindeal commented Feb 19, 2016

@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 commented Mar 30, 2016

A2

donizyo commented Mar 30, 2016

A2
Looks nice, thanks

donizyo commented Mar 30, 2016

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

A<sub>1</sub>

what should i do?

rowanc1 commented Jun 12, 2016

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

MarkehMe commented Jul 4, 2016 edited

#1234567891011121314151617181920

1234567891011121314151617181920

#1234567891011121314151617181920

1234567891011121314151617181920

bangmyheadagainstthewall

ravishchawla commented Oct 23, 2016 edited

just want to know if this works edit: it does

eggsbenjamin commented Jan 5, 2017 edited

log2(n) = x ≣ 2x = n

Sample superscript link/citation:

Some text [2]

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