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