Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
superscript test

This is some superscript text.

@seinecle

This comment has been minimized.

Copy link

@seinecle seinecle commented Mar 1, 2013

Great!

@CamiloMM

This comment has been minimized.

Copy link

@CamiloMM CamiloMM commented Jun 7, 2013

script works as well.

@mikermcneil

This comment has been minimized.

Copy link

@mikermcneil mikermcneil commented Jan 3, 2014

thanks!

@mikermcneil

This comment has been minimized.

Copy link

@mikermcneil mikermcneil commented Jan 3, 2014

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

Ai
Bz
Xn

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Aug 11, 2014

2 legit

@xdumaine

This comment has been minimized.

Copy link

@xdumaine xdumaine commented Sep 16, 2014

wowsuperscriptkeepsongoing

@wayou

This comment has been minimized.

Copy link

@wayou wayou commented Oct 30, 2014

subsup

@adishavit

This comment has been minimized.

Copy link

@adishavit adishavit commented May 18, 2015

01ABC

@riuri

This comment has been minimized.

Copy link

@riuri riuri commented Sep 14, 2015

0t x2 dx

@amitness

This comment has been minimized.

Copy link

@amitness amitness commented Oct 10, 2015

Thanks a lot.

@renyuntao

This comment has been minimized.

Copy link

@renyuntao renyuntao commented Nov 18, 2015

x2

@renyuntao

This comment has been minimized.

Copy link

@renyuntao renyuntao commented Nov 18, 2015

H2O

@webhacking

This comment has been minimized.

Copy link

@webhacking webhacking commented Dec 24, 2015

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

@gaurav21r

This comment has been minimized.

Copy link

@gaurav21r gaurav21r commented Jan 20, 2016

<sup> <sub> script

@lovetoken

This comment has been minimized.

Copy link

@lovetoken lovetoken commented Jan 25, 2016

사합 니다. ㅋ

@bkowshik

This comment has been minimized.

Copy link

@bkowshik 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

This comment has been minimized.

Copy link

@rindeal 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.

@KaiserKatze

This comment has been minimized.

Copy link

@KaiserKatze KaiserKatze commented Mar 30, 2016

A2

@KaiserKatze

This comment has been minimized.

Copy link

@KaiserKatze KaiserKatze commented Mar 30, 2016

A2
Looks nice, thanks

@KaiserKatze

This comment has been minimized.

Copy link

@KaiserKatze KaiserKatze commented Mar 30, 2016

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

A<sub>1</sub>

what should i do?

@rowanc1

This comment has been minimized.

Copy link

@rowanc1 rowanc1 commented Jun 12, 2016

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

@markhughes

This comment has been minimized.

Copy link

@markhughes markhughes commented Jul 4, 2016

#1234567891011121314151617181920

1234567891011121314151617181920

#1234567891011121314151617181920

1234567891011121314151617181920

@zaxklone

This comment has been minimized.

Copy link

@zaxklone zaxklone commented Aug 19, 2016

bangmyheadagainstthewall

@ravishchawla

This comment has been minimized.

Copy link

@ravishchawla ravishchawla commented Oct 23, 2016

just want to know if this works edit: it does

@eggsbenjamin

This comment has been minimized.

Copy link

@eggsbenjamin eggsbenjamin commented Jan 5, 2017

log2(n) = x ≣ 2x = n

@zihaozhu0025

This comment has been minimized.

Copy link

@zihaozhu0025 zihaozhu0025 commented Feb 27, 2017

x1

@stormwild

This comment has been minimized.

Copy link

@stormwild stormwild commented Jul 31, 2017

Sample superscript link/citation:

Some text [2]

@VasilisGks

This comment has been minimized.

Copy link

@VasilisGks VasilisGks commented Sep 26, 2017

O(n2)

@BrandonDyer64

This comment has been minimized.

Copy link

@BrandonDyer64 BrandonDyer64 commented Apr 9, 2018

NiceNiceNiceNice

@tigerfanxiao

This comment has been minimized.

Copy link

@tigerfanxiao tigerfanxiao commented Apr 12, 2018

Nicenice

@JDongian

This comment has been minimized.

Copy link

@JDongian JDongian commented Jun 2, 2018

nice1

@ngchwanlii

This comment has been minimized.

Copy link

@ngchwanlii ngchwanlii commented Aug 4, 2018

22

@jacobpedd

This comment has been minimized.

Copy link

@jacobpedd jacobpedd commented Aug 31, 2018

wow

@kerimeredith

This comment has been minimized.

Copy link

@kerimeredith kerimeredith commented Sep 3, 2018

Y'all are having 2 much fun.

@jonahx

This comment has been minimized.

Copy link

@jonahx jonahx commented Oct 19, 2018

👍👍👍

@heartnn

This comment has been minimized.

Copy link

@heartnn heartnn commented Nov 3, 2018

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

Ai
Bz
Xn

@folex

This comment has been minimized.

Copy link

@folex folex commented Nov 8, 2018

Any ideas on how to horizontally align sub and sup?

@mmlb

This comment has been minimized.

Copy link

@mmlb mmlb commented Mar 14, 2019

Testing to see if 1 works with reference links.

@sebastian-lapuschkin

This comment has been minimized.

Copy link

@sebastian-lapuschkin sebastian-lapuschkin commented Apr 23, 2019

Testsup Testsub

@dhparkhub

This comment has been minimized.

Copy link

@dhparkhub dhparkhub commented Aug 30, 2019

A1

@dhparkhub

This comment has been minimized.

Copy link

@dhparkhub dhparkhub commented Aug 30, 2019

A1

@ytann

This comment has been minimized.

Copy link

@ytann ytann commented Sep 13, 2019

im

@ytann

This comment has been minimized.

Copy link

@ytann ytann commented Sep 13, 2019

supsolonely

@nilansaha

This comment has been minimized.

Copy link

@nilansaha nilansaha commented May 15, 2020

ai+1

@nilansaha

This comment has been minimized.

Copy link

@nilansaha nilansaha commented May 15, 2020

POSi+2[:2] = 'NN'

@surajshetiya

This comment has been minimized.

Copy link

@surajshetiya surajshetiya commented Jun 28, 2020

a2

@jerobado

This comment has been minimized.

Copy link

@jerobado jerobado commented Jul 1, 2020

This isawesome!

@izhakjakov

This comment has been minimized.

Copy link

@izhakjakov izhakjakov commented Oct 1, 2020

LOL 😄

@Ak-Shaw

This comment has been minimized.

Copy link

@Ak-Shaw Ak-Shaw commented Oct 1, 2020

COOL!!!

@MCPE2019Github

This comment has been minimized.

Copy link

@MCPE2019Github MCPE2019Github commented Dec 29, 2020

COOL

@HaloWang

This comment has been minimized.

Copy link

@HaloWang HaloWang commented May 12, 2021

666

@HaloWang

This comment has been minimized.

Copy link

@HaloWang HaloWang commented May 12, 2021

66666

@yaamas

This comment has been minimized.

Copy link

@yaamas yaamas commented May 24, 2021

Logne

@AizenAngel

This comment has been minimized.

Copy link

@AizenAngel AizenAngel commented Jul 11, 2021

LmA o

@tirimatangi

This comment has been minimized.

Copy link

@tirimatangi tirimatangi commented Jul 15, 2021

Symbolic character names:
https://html.spec.whatwg.org/multipage/named-characters.html#named-character-references

|A*x − b|2

Ax − b2

RN→RM

@kornrt2018

This comment has been minimized.

Copy link

@kornrt2018 kornrt2018 commented Aug 27, 2021

1234567

Oh wait it limits at 2 levels

@MK-1729

This comment has been minimized.

Copy link

@MK-1729 MK-1729 commented Oct 7, 2021

hello k hello

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