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