Show More
@@ -1,120 +1,126 b'' | |||
|
1 | 1 | { |
|
2 |
|
|
|
3 |
|
|
|
2 | "metadata": { | |
|
3 | "name": "formatting" | |
|
4 | }, | |
|
5 | "nbformat": 2, | |
|
6 | "worksheets": [ | |
|
7 | { | |
|
8 | "cells": [ | |
|
9 | { | |
|
10 | "cell_type": "markdown", | |
|
11 | "source": [ | |
|
12 | "# Examples of basic formatting in the notebook", | |
|
13 | "", | |
|
14 | "Normal and formatted text cells such as this one use the ", | |
|
15 | "[Markdown](http://daringfireball.net/projects/markdown/basics) syntax.", | |
|
16 | "", | |
|
17 | "", | |
|
18 | "# Title (h1)", | |
|
19 | "", | |
|
20 | "## Heading (h2)", | |
|
21 | "", | |
|
22 | "### Heading (h3)", | |
|
23 | "", | |
|
24 | "Here is a paragraph of text.", | |
|
25 | "", | |
|
26 | "* One.", | |
|
27 | " - Sublist", | |
|
28 | " - Here we go", | |
|
29 | " - Sublist", | |
|
30 | " - Here we go", | |
|
31 | " - Here we go", | |
|
32 | "* Two.", | |
|
33 | " - Sublist", | |
|
34 | "* Three.", | |
|
35 | " - Sublist", | |
|
36 | "", | |
|
37 | "Now another list:", | |
|
38 | "", | |
|
39 | "---", | |
|
40 | "", | |
|
41 | "1. Here we go", | |
|
42 | " 1. Sublist", | |
|
43 | " 2. Sublist", | |
|
44 | "2. There we go", | |
|
45 | "3. Now this", | |
|
46 | "", | |
|
47 | "And another paragraph.", | |
|
48 | "", | |
|
49 | "### Heading (h3)", | |
|
50 | "", | |
|
51 | "#### Heading (h4)", | |
|
52 | "", | |
|
53 | "##### Heading (h5)", | |
|
54 | "", | |
|
55 | "###### Heading (h6)", | |
|
56 | "", | |
|
57 | "## Heading (h2)" | |
|
58 | ] | |
|
4 | 59 | }, |
|
5 | "nbformat": 2, | |
|
6 | "worksheets": [ | |
|
7 | { | |
|
8 | "cells": [ | |
|
9 | { | |
|
10 | "cell_type": "markdown", | |
|
11 | "source": [ | |
|
12 | "# Title (h1)", | |
|
13 | "", | |
|
14 |
|
|
|
15 | "", | |
|
16 |
|
|
|
17 | "", | |
|
18 | "Here is a paragraph of text.", | |
|
19 | "", | |
|
20 | "* One.", | |
|
21 | " - Sublist", | |
|
22 | " - Here we go", | |
|
23 | " - Sublist", | |
|
24 | " - Here we go", | |
|
25 | " - Here we go", | |
|
26 | "* Two.", | |
|
27 | " - Sublist", | |
|
28 | "* Three.", | |
|
29 | " - Sublist", | |
|
30 | "", | |
|
31 | "Now another list:", | |
|
32 | "", | |
|
33 | "---", | |
|
34 | "", | |
|
35 | "1. Here we go", | |
|
36 | " 1. Sublist", | |
|
37 | " 2. Sublist", | |
|
38 | "2. There we go", | |
|
39 | "3. Now this", | |
|
40 | "", | |
|
41 | "And another paragraph.", | |
|
42 | "", | |
|
43 | "### Heading (h3)", | |
|
44 | "", | |
|
45 | "#### Heading (h4)", | |
|
46 | "", | |
|
47 | "##### Heading (h5)", | |
|
48 | "", | |
|
49 | "###### Heading (h6)", | |
|
50 | "", | |
|
51 | "## Heading (h2)", | |
|
52 | "" | |
|
53 | ] | |
|
54 | }, | |
|
55 | { | |
|
56 | "cell_type": "markdown", | |
|
57 | "source": [ | |
|
58 | "# Heading (h1)", | |
|
59 | "", | |
|
60 | "## Heading (h2)", | |
|
61 | "", | |
|
62 | "### Heading (h3)", | |
|
63 | "", | |
|
64 | "#### Heading (h4)", | |
|
65 | "", | |
|
66 | "##### Heading (h5)", | |
|
67 | "", | |
|
68 | "###### Heading (h6)", | |
|
69 | "", | |
|
70 | "Now for a simpel code example:", | |
|
71 | "", | |
|
72 | " for i in range(10):", | |
|
73 | " print i", | |
|
74 | "", | |
|
75 | "Now more text" | |
|
76 | ] | |
|
77 | }, | |
|
78 | { | |
|
79 | "cell_type": "markdown", | |
|
80 | "source": [ | |
|
81 | "## Heading (h2)", | |
|
82 | "", | |
|
83 | "Here is text.", | |
|
84 | "", | |
|
85 | "> This is a *block* quote. This is a block quote. This is a block quote. ", | |
|
86 | "> This is a **block** quote. This is a block quote. This is a block quote. ", | |
|
87 | "> This is a `block` quote. This is a block quote. This is a block quote. ", | |
|
88 | "> This is a block quote. This is a block quote. This is a block quote. ", | |
|
89 | "> This is a block quote. This is a block quote. This is a block quote. ", | |
|
90 | "> This is a block quote. This is a block quote. This is a block quote. ", | |
|
91 | "", | |
|
92 | "Here is text", | |
|
93 | "", | |
|
94 | "<table>", | |
|
95 | "<tr>", | |
|
96 | "<th>Header 1</th>", | |
|
97 | "<th>Header 2</th>", | |
|
98 | "</tr>", | |
|
99 | "<tr>", | |
|
100 | "<td>row 1, cell 1</td>", | |
|
101 | "<td>row 1, cell 2</td>", | |
|
102 | "</tr>", | |
|
103 | "<tr>", | |
|
104 | "<td>row 2, cell 1</td>", | |
|
105 | "<td>row 2, cell 2</td>", | |
|
106 | "</tr>", | |
|
107 | "</table>" | |
|
108 | ] | |
|
109 | }, | |
|
110 | { | |
|
111 | "cell_type": "code", | |
|
112 | "collapsed": true, | |
|
113 | "input": [], | |
|
114 | "language": "python", | |
|
115 | "outputs": [] | |
|
116 | } | |
|
117 | ] | |
|
118 | } | |
|
119 | ] | |
|
60 | { | |
|
61 | "cell_type": "markdown", | |
|
62 | "source": [ | |
|
63 | "# Heading (h1)", | |
|
64 | "", | |
|
65 | "## Heading (h2)", | |
|
66 | "", | |
|
67 | "### Heading (h3)", | |
|
68 | "", | |
|
69 | "#### Heading (h4)", | |
|
70 | "", | |
|
71 | "##### Heading (h5)", | |
|
72 | "", | |
|
73 | "###### Heading (h6)", | |
|
74 | "", | |
|
75 | "Now for a simple code example:", | |
|
76 | "", | |
|
77 | " for i in range(10):", | |
|
78 | " print i", | |
|
79 | "", | |
|
80 | "Now more text" | |
|
81 | ] | |
|
82 | }, | |
|
83 | { | |
|
84 | "cell_type": "markdown", | |
|
85 | "source": [ | |
|
86 | "## Heading (h2)", | |
|
87 | "", | |
|
88 | "Here is text.", | |
|
89 | "", | |
|
90 | "> This is a *block* quote. This is a block quote. This is a block quote. ", | |
|
91 | "> This is a **block** quote. This is a block quote. This is a block quote. ", | |
|
92 | "> This is a `block` quote. This is a block quote. This is a block quote. ", | |
|
93 | "> This is a block quote. This is a block quote. This is a block quote. ", | |
|
94 | "> This is a block quote. This is a block quote. This is a block quote. ", | |
|
95 | "> This is a block quote. This is a block quote. This is a block quote. ", | |
|
96 | "", | |
|
97 | "Here is text", | |
|
98 | "", | |
|
99 | "<table>", | |
|
100 | "<tr>", | |
|
101 | "<th>Header 1</th>", | |
|
102 | "<th>Header 2</th>", | |
|
103 | "</tr>", | |
|
104 | "<tr>", | |
|
105 | "<td>row 1, cell 1</td>", | |
|
106 | "<td>row 1, cell 2</td>", | |
|
107 | "</tr>", | |
|
108 | "<tr>", | |
|
109 | "<td>row 2, cell 1</td>", | |
|
110 | "<td>row 2, cell 2</td>", | |
|
111 | "</tr>", | |
|
112 | "</table>" | |
|
113 | ] | |
|
114 | }, | |
|
115 | { | |
|
116 | "cell_type": "code", | |
|
117 | "collapsed": true, | |
|
118 | "input": [], | |
|
119 | "language": "python", | |
|
120 | "outputs": [], | |
|
121 | "prompt_number": " " | |
|
122 | } | |
|
123 | ] | |
|
124 | } | |
|
125 | ] | |
|
120 | 126 | } No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now