Show More
@@ -0,0 +1,202 b'' | |||||
|
1 | <?xml version="1.0" encoding="utf-8"?> | |||
|
2 | <notebook> | |||
|
3 | <name>formatting</name> | |||
|
4 | <id>3eaf4ff7-e2c8-46f2-acd3-be16df73aee6</id> | |||
|
5 | <nbformat>2</nbformat> | |||
|
6 | <worksheets> | |||
|
7 | <worksheet> | |||
|
8 | <cells> | |||
|
9 | <markdowncell> | |||
|
10 | <source># Title (h1) | |||
|
11 | ||||
|
12 | ## Heading (h2) | |||
|
13 | ||||
|
14 | ### Heading (h3) | |||
|
15 | ||||
|
16 | Here is a paragraph of text. | |||
|
17 | ||||
|
18 | * One. | |||
|
19 | - Sublist | |||
|
20 | - Here we go | |||
|
21 | - Sublist | |||
|
22 | - Here we go | |||
|
23 | - Here we go | |||
|
24 | * Two. | |||
|
25 | - Sublist | |||
|
26 | * Three. | |||
|
27 | - Sublist | |||
|
28 | ||||
|
29 | Now another list: | |||
|
30 | ||||
|
31 | --- | |||
|
32 | ||||
|
33 | 1. Here we go | |||
|
34 | 1. Sublist | |||
|
35 | 2. Sublist | |||
|
36 | 2. There we go | |||
|
37 | 3. Now this | |||
|
38 | ||||
|
39 | And another paragraph. | |||
|
40 | ||||
|
41 | ### Heading (h3) | |||
|
42 | ||||
|
43 | #### Heading (h4) | |||
|
44 | ||||
|
45 | ##### Heading (h5) | |||
|
46 | ||||
|
47 | ###### Heading (h6) | |||
|
48 | ||||
|
49 | ## Heading (h2) | |||
|
50 | ||||
|
51 | </source> | |||
|
52 | <rendered><h1>Title (h1)</h1> | |||
|
53 | ||||
|
54 | <h2>Heading (h2)</h2> | |||
|
55 | ||||
|
56 | <h3>Heading (h3)</h3> | |||
|
57 | ||||
|
58 | <p>Here is a paragraph of text.</p> | |||
|
59 | ||||
|
60 | <ul> | |||
|
61 | <li>One. | |||
|
62 | <ul><li>Sublist | |||
|
63 | <ul><li>Here we go</li></ul></li> | |||
|
64 | <li>Sublist | |||
|
65 | <ul><li>Here we go</li> | |||
|
66 | <li>Here we go</li></ul></li></ul></li> | |||
|
67 | <li>Two. | |||
|
68 | <ul><li>Sublist</li></ul></li> | |||
|
69 | <li>Three. | |||
|
70 | <ul><li>Sublist</li></ul></li> | |||
|
71 | </ul> | |||
|
72 | ||||
|
73 | <p>Now another list:</p> | |||
|
74 | ||||
|
75 | <hr> | |||
|
76 | ||||
|
77 | <ol> | |||
|
78 | <li>Here we go | |||
|
79 | <ol><li>Sublist</li> | |||
|
80 | <li>Sublist</li></ol></li> | |||
|
81 | <li>There we go</li> | |||
|
82 | <li>Now this</li> | |||
|
83 | </ol> | |||
|
84 | ||||
|
85 | <p>And another paragraph.</p> | |||
|
86 | ||||
|
87 | <h3>Heading (h3)</h3> | |||
|
88 | ||||
|
89 | <h4>Heading (h4)</h4> | |||
|
90 | ||||
|
91 | <h5>Heading (h5)</h5> | |||
|
92 | ||||
|
93 | <h6>Heading (h6)</h6> | |||
|
94 | ||||
|
95 | <h2>Heading (h2)</h2></rendered> | |||
|
96 | </markdowncell> | |||
|
97 | <markdowncell> | |||
|
98 | <source># Heading (h1) | |||
|
99 | ||||
|
100 | ## Heading (h2) | |||
|
101 | ||||
|
102 | ### Heading (h3) | |||
|
103 | ||||
|
104 | #### Heading (h4) | |||
|
105 | ||||
|
106 | ##### Heading (h5) | |||
|
107 | ||||
|
108 | ###### Heading (h6) | |||
|
109 | ||||
|
110 | Now for a simpel code example: | |||
|
111 | ||||
|
112 | for i in range(10): | |||
|
113 | print i | |||
|
114 | ||||
|
115 | Now more text</source> | |||
|
116 | <rendered><h1>Heading (h1)</h1> | |||
|
117 | ||||
|
118 | <h2>Heading (h2)</h2> | |||
|
119 | ||||
|
120 | <h3>Heading (h3)</h3> | |||
|
121 | ||||
|
122 | <h4>Heading (h4)</h4> | |||
|
123 | ||||
|
124 | <h5>Heading (h5)</h5> | |||
|
125 | ||||
|
126 | <h6>Heading (h6)</h6> | |||
|
127 | ||||
|
128 | <p>Now for a simpel code example:</p> | |||
|
129 | ||||
|
130 | <pre><code>for i in range(10): | |||
|
131 | print i | |||
|
132 | </code></pre> | |||
|
133 | ||||
|
134 | <p>Now more text</p></rendered> | |||
|
135 | </markdowncell> | |||
|
136 | <markdowncell> | |||
|
137 | <source>## Heading (h2) | |||
|
138 | ||||
|
139 | Here is text. | |||
|
140 | ||||
|
141 | > This is a *block* quote. This is a block quote. This is a block quote. | |||
|
142 | > This is a **block** quote. This is a block quote. This is a block quote. | |||
|
143 | > This is a `block` quote. This is a block quote. This is a block quote. | |||
|
144 | > This is a block quote. This is a block quote. This is a block quote. | |||
|
145 | > This is a block quote. This is a block quote. This is a block quote. | |||
|
146 | > This is a block quote. This is a block quote. This is a block quote. | |||
|
147 | ||||
|
148 | Here is text | |||
|
149 | ||||
|
150 | <table> | |||
|
151 | <tr> | |||
|
152 | <th>Header 1</th> | |||
|
153 | <th>Header 2</th> | |||
|
154 | </tr> | |||
|
155 | <tr> | |||
|
156 | <td>row 1, cell 1</td> | |||
|
157 | <td>row 1, cell 2</td> | |||
|
158 | </tr> | |||
|
159 | <tr> | |||
|
160 | <td>row 2, cell 1</td> | |||
|
161 | <td>row 2, cell 2</td> | |||
|
162 | </tr> | |||
|
163 | </table></source> | |||
|
164 | <rendered><h2>Heading (h2)</h2> | |||
|
165 | ||||
|
166 | <p>Here is text.</p> | |||
|
167 | ||||
|
168 | <blockquote> | |||
|
169 | <p>This is a <em>block</em> quote. This is a block quote. This is a block quote. <br> | |||
|
170 | This is a <strong>block</strong> quote. This is a block quote. This is a block quote. <br> | |||
|
171 | This is a <code>block</code> quote. This is a block quote. This is a block quote. <br> | |||
|
172 | This is a block quote. This is a block quote. This is a block quote. <br> | |||
|
173 | This is a block quote. This is a block quote. This is a block quote. <br> | |||
|
174 | This is a block quote. This is a block quote. This is a block quote. </p> | |||
|
175 | </blockquote> | |||
|
176 | ||||
|
177 | <p>Here is text</p> | |||
|
178 | ||||
|
179 | <table> | |||
|
180 | <tbody><tr> | |||
|
181 | <th>Header 1</th> | |||
|
182 | <th>Header 2</th> | |||
|
183 | </tr> | |||
|
184 | <tr> | |||
|
185 | <td>row 1, cell 1</td> | |||
|
186 | <td>row 1, cell 2</td> | |||
|
187 | </tr> | |||
|
188 | <tr> | |||
|
189 | <td>row 2, cell 1</td> | |||
|
190 | <td>row 2, cell 2</td> | |||
|
191 | </tr> | |||
|
192 | </tbody></table></rendered> | |||
|
193 | </markdowncell> | |||
|
194 | <codecell> | |||
|
195 | <input /> | |||
|
196 | <language>python</language> | |||
|
197 | <outputs /> | |||
|
198 | </codecell> | |||
|
199 | </cells> | |||
|
200 | </worksheet> | |||
|
201 | </worksheets> | |||
|
202 | </notebook> |
@@ -199,7 +199,7 b' div.output_stream {' | |||||
199 |
|
199 | |||
200 | div.output_latex { |
|
200 | div.output_latex { | |
201 | /* Slightly bigger than the rest of the notebook */ |
|
201 | /* Slightly bigger than the rest of the notebook */ | |
202 |
font-size: 1 |
|
202 | font-size: 100%; | |
203 | } |
|
203 | } | |
204 |
|
204 | |||
205 | div.output_html { |
|
205 | div.output_html { | |
@@ -219,7 +219,7 b' div.text_cell_input {' | |||||
219 | div.text_cell_render { |
|
219 | div.text_cell_render { | |
220 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; |
|
220 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; | |
221 | /* Slightly bigger than the rest of the notebook */ |
|
221 | /* Slightly bigger than the rest of the notebook */ | |
222 |
font-size: 1 |
|
222 | font-size: 100%; | |
223 | outline: none; |
|
223 | outline: none; | |
224 | resize: none; |
|
224 | resize: none; | |
225 | width: inherit; |
|
225 | width: inherit; |
@@ -4,17 +4,56 b'' | |||||
4 | .rendered_html u {text-decoration: underline;} |
|
4 | .rendered_html u {text-decoration: underline;} | |
5 | .rendered_html :link { text-decoration: underline } |
|
5 | .rendered_html :link { text-decoration: underline } | |
6 | .rendered_html :visited { text-decoration: underline } |
|
6 | .rendered_html :visited { text-decoration: underline } | |
7 |
.rendered_html h1 {font-size: 197%; margin: .6 |
|
7 | .rendered_html h1 {font-size: 197%; margin: .65em 0; font-weight: bold;} | |
8 | .rendered_html h2 {font-size: 153.9%; margin: .75em 0; font-weight: bold;} |
|
8 | .rendered_html h2 {font-size: 153.9%; margin: .75em 0; font-weight: bold;} | |
9 |
.rendered_html h3 {font-size: 11 |
|
9 | .rendered_html h3 {font-size: 123.1%; margin: .85em 0; font-weight: bold;} | |
10 |
.rendered_html h4 {margin: |
|
10 | .rendered_html h4 {font-size: 100% margin: 0.95em 0; font-weight: bold;} | |
11 |
.rendered_html h5 {font-size: 85% |
|
11 | .rendered_html h5 {font-size: 85%; margin: 1.5em 0; font-weight: bold;} | |
12 |
.rendered_html h6 {font-size: 77%; margin: 1.6 |
|
12 | .rendered_html h6 {font-size: 77%; margin: 1.65em 0; font-weight: bold;} | |
13 |
.rendered_html ul {list-style:disc; margin |
|
13 | .rendered_html ul {list-style:disc; margin: 1em 2em;} | |
14 |
.rendered_html ul ul {list-style:square; margin |
|
14 | .rendered_html ul ul {list-style:square; margin: 0em 2em;} | |
15 |
.rendered_html ul ul ul {list-style:circle; margin-left: |
|
15 | .rendered_html ul ul ul {list-style:circle; margin-left: 0em 2em;} | |
16 |
.rendered_html ol {list-style:upper-roman; margin |
|
16 | .rendered_html ol {list-style:upper-roman; margin: 1em 2em;} | |
17 | .rendered_html ol ol {list-style:upper-alpha;} |
|
17 | .rendered_html ol ol {list-style:upper-alpha; margin: 0em 2em;} | |
18 | .rendered_html ol ol ol {list-style:decimal;} |
|
18 | .rendered_html ol ol ol {list-style:decimal; margin: 0em 2em;} | |
19 | .rendered_html ol ol ol ol {list-style:lower-alpha;} |
|
19 | .rendered_html ol ol ol ol {list-style:lower-alpha; margin 0em 2em;} | |
20 | .rendered_html ol ol ol ol ol {list-style:lower-roman;} No newline at end of file |
|
20 | .rendered_html ol ol ol ol ol {list-style:lower-roman; 0em 2em;} | |
|
21 | ||||
|
22 | .rendered_html hr { | |||
|
23 | color: black; | |||
|
24 | background-color: black; | |||
|
25 | } | |||
|
26 | ||||
|
27 | .rendered_html pre { | |||
|
28 | margin: 1em 2em; | |||
|
29 | } | |||
|
30 | ||||
|
31 | .rendered_html blockquote { | |||
|
32 | margin: 1em 2em; | |||
|
33 | } | |||
|
34 | ||||
|
35 | .rendered_html table { | |||
|
36 | border: 1px solid black; | |||
|
37 | border-collapse: collapse; | |||
|
38 | margin: 1em 2em; | |||
|
39 | } | |||
|
40 | ||||
|
41 | .rendered_html td { | |||
|
42 | border: 1px solid black; | |||
|
43 | text-align: left; | |||
|
44 | vertical-align: middle; | |||
|
45 | padding: 4px; | |||
|
46 | } | |||
|
47 | ||||
|
48 | .rendered_html th { | |||
|
49 | border: 1px solid black; | |||
|
50 | text-align: left; | |||
|
51 | vertical-align: middle; | |||
|
52 | padding: 4px; | |||
|
53 | font-weight: bold; | |||
|
54 | } | |||
|
55 | ||||
|
56 | .rendered_html tr { | |||
|
57 | border: 1px solid black; | |||
|
58 | } | |||
|
59 |
General Comments 0
You need to be logged in to leave comments.
Login now