{ "metadata": { "name": "", "signature": "sha256:78f353cca5546806477ec3c905d6a8fbc320b0728d52aba857a8d6ef575084fe" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "heading", "level": 1, "metadata": { "slideshow": { "slide_type": "-" } }, "source": [ "Tutorial Brief" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "-" } }, "source": [ "This covers the basics of using markdown cells. You can think of markdown cells as documention for your code with extended features.\n", "####Finding Help:\n", "\n", "- http://ipython.org/ipython-doc/2/interactive/tutorial.html\n", "- http://nbviewer.ipython.org/" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "-" } }, "source": [ "#Markdown Cells\n", "\n", "This cell can contain markdown language and render it.\n", "\n", "A good reference for markdown is in this link:\n", "https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "-" } }, "source": [ "###Most common markdown codes:\n", "\n", "#Head 1\n", "##Head 2\n", "###Head 3\n", "####Head 4\n", "\n", "Alt Heading 1\n", "============\n", "\n", "Alt Heading 2\n", "------------" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "```markdown\n", "#Head 1\n", "##Head 2\n", "###Head 3\n", "####Head 4\n", "\n", "Alt Heading 1\n", "============\n", "\n", "Alt Heading 2\n", "------------\n", "```" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "###Font Styles:\n", " - *Italic*\n", " - _Italic_\n", " - **Bold**\n", " - __Bold__\n", " - ~~Throught~~" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "```markdown\n", "- *Italic*\n", "- _Italic_\n", "- **Bold**\n", "- __Bold__\n", "- ~~Throught~~\n", "```" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "####Lists:\n", "\n", "- Item 1\n", "- Item 2\n", "\n", "####Numbered List:\n", "\n", "1. Item 1\n", "2. Item 2\n", " 1. Sub Item 1\n", " 2. Sub Item 2\n", "3. Item 3" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "```markdown\n", "- Item 1\n", "- Item 2\n", "\n", "1. Item 1\n", "2. Item 2\n", " 1. Sub Item 1\n", " 2. Sub Item 2\n", "3. Item 3\n", "```" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "####Links:\n", "\n", "https://www.google.com\n", "\n", "[Google](https://www.google.com)\n", "\n", "[Google with tooltip](https://www.google.com \"Google's Homepage\")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "```markdown\n", "https://www.google.com\n", "\n", "[Google](https://www.google.com)\n", "\n", "[Google with tooltip](https://www.google.com \"Google's Homepage\")\n", "```" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "####Images:\n", "\n", "" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "```markdown\n", "\n", "```" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "####Code:\n", "\n", "```python\n", "s = \"Python syntax highlighting\"\n", "print s\n", "```\n", "\n", "```javascript\n", "var s = \"JavaScript syntax highlighting\";\n", "alert(s);\n", "```" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "
\n",
"```python\n",
"s = \"Python syntax highlighting\"\n",
"print s\n",
"```\n",
"\n",
"```javascript\n",
"var s = \"JavaScript syntax highlighting\";\n",
"alert(s);\n",
"```\n",
""
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"####Tables:\n",
"\n",
"| Website | URL | Rank |\n",
"| ---------:|:-------------:| ----:|\n",
"| Google | google.com | 1 |\n",
"| Facebook | facebook.com | 2 |\n",
"| Youtube | youtube.com | 3 |"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```markdown\n",
"| Website | URL | Rank |\n",
"| ---------:|:-------------:| ----:|\n",
"| Google | google.com | 1 |\n",
"| Facebook | facebook.com | 2 |\n",
"| Youtube | youtube.com | 3 |\n",
"```"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"####Quotes\n",
"> ##Quote from some one else\n",
"> *with multiple lines*"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```markdown\n",
"> ##Quote from some one else\n",
"> *with multiple lines*\n",
"```"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"####HTML\n",
"Almost any HTML code will render
Just fine.
Almost any HTML code will render
Just fine.