Tutorial Brief

This covers the basics of using markdown cells. You can think of markdown cells as documention for your code with extended features.

Finding Help:

Markdown Cells

This cell can contain markdown language and render it.

A good reference for markdown is in this link: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet

Most common markdown codes:

Head 1

Head 2

Head 3

Head 4

Alt Heading 1

Alt Heading 2

markdown
#Head 1
##Head 2
###Head 3
####Head 4

Alt Heading 1
============

Alt Heading 2
------------

Font Styles:

  • Italic
  • Italic
  • Bold
  • Bold
  • Throught
markdown
- *Italic*
- _Italic_
- **Bold**
- __Bold__
- ~~Throught~~

Lists:

  • Item 1
  • Item 2

Numbered List:

  1. Item 1
  2. Item 2
    1. Sub Item 1
    2. Sub Item 2
  3. Item 3
markdown
- Item 1
- Item 2

1. Item 1
2. Item 2
 1. Sub Item 1
 2. Sub Item 2
3. Item 3
markdown
https://www.google.com

[Google](https://www.google.com)

[Google with tooltip](https://www.google.com "Google's Homepage")

Images:

Alt Text

markdown
![Alt Text](http://www.google.com/logos/2012/turing-doodle-static.jpg "Alan Turing's 100th Birthday")

Code:

s = "Python syntax highlighting"
print s
var s = "JavaScript syntax highlighting";
alert(s);
```python
s = "Python syntax highlighting"
print s
```

```javascript
var s = "JavaScript syntax highlighting";
alert(s);
```

Tables:

Website URL Rank
Google google.com 1
Facebook facebook.com 2
Youtube youtube.com 3
Website URL Rank
Google google.com 1
Facebook facebook.com 2
Youtube youtube.com 3

Quotes

Quote from some one else

with multiple lines

markdown
> ##Quote from some one else
> *with multiple lines*

HTML


Almost any HTML code will render
Just fine.

<hr>
<p>Almost any <strong>HTML</strong> code will render<br />Just <i>fine</i>.</p>

Horizontal Lines




markdown
---
***
___

Unicode

If you can think of any symbol, it is available in unicode.

  • ©
  • ®
markdown
©
®
™

Markdown cell - Latex Script:

Latex is a languange to represent mathematical formula using text.

For Latex documentation please check the wiki:

http://en.wikibooks.org/wiki/LaTeX/Mathematics

Inline and Block Latex

Inline Formula: $x=y$

Block Formula: $$x=y$$

$x=y$ $$x=y$$

Greek Letters

  • Alpha: $\alpha A$
  • Beta: $\beta B$
  • Gamma: $\gamma \Gamma$
  • Pi: $\pi \Pi \varpi$
  • Phi: $\phi \varphi \Phi$
  • Epsilon: $\epsilon \varepsilon$
  • Theta: $\theta \Theta \vartheta$
  • Rho: $\rho \varrho$
  • sigma: $\sigma \Sigma \varsigma$

Alpha: $\alpha A$ Beta: $\beta B$ Gamma: $\gamma \Gamma$ Pi: $\pi \Pi \varpi$ Phi: $\phi \varphi \Phi$ Epsilon: $\epsilon \varepsilon$ Theta: $\theta \Theta \vartheta$ Rho: $\rho \varrho$ sigma: $\sigma \Sigma \varsigma$

Basic operations

  • $y = x + 5$
  • $y = x - 5$
  • $y = 5x$
  • $y = x \times 5$
  • $y = \frac{x}{5}$
  • $y = x \div 5$

$y = x + 5$ $y = x - 5$ $y = 5x$ $y = x \times 5$ $y = \frac{x}{5}$ $y = x \div 5$

Power and Index

  • $y_n = x_n - x_{n-1}$
  • $y = x^2 - 2x^{x-1}$
markdown
$y_n = x_n - x_{n-1}$
$y = x^2 - 2x^{x-1}$

Fraction Type

  • $^1/_2$
  • $\frac {1}{2}$

Roots

  • $\sqrt{\frac{1}{3}}$
  • $\sqrt[3]{2x}$

$^1/_2$ $\frac {1}{2}$

$\sqrt{\frac{1}{3}}$ $\sqrt[3]{2x}$

Sums and Integrals

  • Sum : $\sum\limits_{i=1}^{10} t_i$
  • Int : $\int\limits_a^b$
  • $\int_0^\infty \sin(x^2)$

$\sum\limits_{i=1}^{10} t_i$ $\int\limits_a^b$ $\int_0^\infty \sin(x^2)$

In [ ]: