Skip to content

Instantly share code, notes, and snippets.

@laughinghan
Last active March 16, 2017 23:18
Show Gist options
  • Save laughinghan/6a67fc3c245068ee93bb9045e753f7ad to your computer and use it in GitHub Desktop.
Save laughinghan/6a67fc3c245068ee93bb9045e753f7ad to your computer and use it in GitHub Desktop.
1 + \frac{1}{2}x
1+[frac 1 2]x
1 + [frac, 1, 2]x
1+(frac 1 2)x
1 + [frac|1|2]x
1 + [frac:1:2]x
1 + <frac>1<over/>2</frac>x
x = \frac{ -b \pm \sqrt{ b^2 - 4ac } }{ 2a }
x=[frac -b±[sqrt b[sup 2]-4ac] 2a]
x = [frac, -b ± [sqrt, b[sup, 2] - 4ac], 2a]
x=(frac -b±(sqrt b(sup 2)-4ac) 2a)
x = [frac| -b ± [sqrt| b[sup|2] - 4ac ] | 2a ]
x = [frac: -b ± [sqrt: b[sup:2] - 4ac ] : 2a ]
x=[frac:-b±[sqrt:b[sup:2]-4ac]:2a]
x=[frac|-b±[sqrt|b[sup|2]-4ac]|2a]
x = <frac> -b ± <sqrt> b<sup>2</sup> - 4ac </sqrt> <over/> 2a </frac>
x = {frac: -b ± {sqrt: b{sup:2} - 4ac } : 2a }
['x=', {type: 'frac', blocks: [
['b', {type: 'sup', block: ['2']}, '-4ac'],
['2a']
]}]
x = :frac [ - b ± :sqrt [b :sup [2] - 4 a c] ][ 2 a ]
['x', '=', {type: 'frac', blocks: [
['b', {type: 'sup', block: ['2']}, '-', '4', 'a', 'c'],
['2', 'a']
]}]
x = #frac[ -b ± #sqrt[ b#sup[2] - 4ac ] | 2a ]
\sin^2 x + \cos^2 x = 1
|op:sin|[sup:2] x + |op:cos|[sup:2] x = 1
|[op]sin|[sup:2] x + |[op]cos|[sup:2] x = 1
:[op]sin:[sup|2] x + :[op]cos:[sup:2] x = 1
:|op|sin:[sup|2] x + :|op|cos:[sup:2] x = 1
There's some <b>bold and </b><span style="font-weight:bold;text-style:italic">bold italic</span><i> and italic</i> text.
There's some |text bold:bold and |text bold italic:bold italic|text italic: and italic| text.
There's some |[bold]bold and |[bold italic]bold italic|[italic] and italic| text.
There's some #bold|bold and #bold_italic|bold italic#italic| and italic| text.
There's some [text:bold|bold and ][text:bold:italic|bold italic][text:italic| and italic] text.
There's some :[text:bold]bold and :[text:bold:italic]bold italic:[text:italic] and italic: text.
There's some :|text:bold|bold and :|text:bold:italic|bold italic:|text:italic| and italic: text.
There's some [text:bold|bold and ]:[text:bold:italic|bold italic]:[text:italic| and italic] text.
There's some [text~bold|bold and ]~[text~bold~italic|bold italic]~[text~italic| and italic] text.
\sin\left( \frac{1}{x} \right)
[op|sin][group:()|[frac|1|x]]
:|op|sin:[group:()|[frac|1|x]]
[op|sin][group~()|[frac|1|x]]
f(x) = \int_{-\infty}^\infty \hat f(\xi) e^{2 \pi i \xi x} d\xi
f(x)=[sumfromto:∫|-∞|∞][hat|f](ξ)e[sup|2πiξx]dξ
f(x)=[sumfromto~∫|-∞|∞][hat|f](ξ)e[sup|2πiξx]dξ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment