Skip to content

Commit d51771e

Browse files
committed
images for clarity
1 parent b79dc17 commit d51771e

5 files changed

Lines changed: 29 additions & 4 deletions

File tree

Images/ipython_links_ex.png

91.8 KB
Loading

Images/ipython_links_format.png

147 KB
Loading

Images/ipython_links_overview.png

23.8 KB
Loading

Images/ipython_links_remedy.png

10.3 KB
Loading

tutorials/table_of_contents_ipython.ipynb

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"metadata": {
33
"name": "",
4-
"signature": "sha256:19987eb5b732fc336836589fd9ab146141494c84bb74435e60e69fab53bf0781"
4+
"signature": "sha256:41219a44026c84eeb3ccb56875545bab3944aeb5cd6d39c51e32ee01fb0cb20d"
55
},
66
"nbformat": 3,
77
"nbformat_minor": 0,
@@ -56,7 +56,18 @@
5656
"cell_type": "markdown",
5757
"metadata": {},
5858
"source": [
59-
"For example, [click this link](#bottom) to jump to the bottom of the page."
59+
"![example table](../Images/ipython_links_ex.png)"
60+
]
61+
},
62+
{
63+
"cell_type": "markdown",
64+
"metadata": {},
65+
"source": [
66+
"<br>\n",
67+
"<br>\n",
68+
"For example, [click this link](#bottom) to jump to the bottom of the page.\n",
69+
"<br>\n",
70+
"<br>"
6071
]
6172
},
6273
{
@@ -75,6 +86,13 @@
7586
"2. an internal hyperlink to the destination"
7687
]
7788
},
89+
{
90+
"cell_type": "markdown",
91+
"metadata": {},
92+
"source": [
93+
"![two components](../Images/ipython_links_overview.png)"
94+
]
95+
},
7896
{
7997
"cell_type": "markdown",
8098
"metadata": {},
@@ -140,7 +158,7 @@
140158
"cell_type": "markdown",
141159
"metadata": {},
142160
"source": [
143-
"### One more piece of advice"
161+
"# One more piece of advice"
144162
]
145163
},
146164
{
@@ -194,7 +212,14 @@
194212
"cell_type": "markdown",
195213
"metadata": {},
196214
"source": [
197-
"which is certainly not what we want (note that it looks normal in the IPython notebook, but not in the converted HTML version).\n",
215+
"which is certainly not what we want (note that it looks normal in the IPython notebook, but not in the converted HTML version). So my favorite remedy would be to put the `id`-anchor tag into a separate cell just above the section, ideally with some line breaks for nicer visuals.\n",
216+
"\n",
217+
"![img of format problem](../Images/ipython_links_format.png)\n",
218+
"\n",
219+
"### Remedy: id-anchor tag in a separate cell\n",
220+
"\n",
221+
"![img of format problem](../Images/ipython_links_remedy.png)\n",
222+
"\n",
198223
"<br>\n",
199224
"<br>\n",
200225
"<br>\n",

0 commit comments

Comments
 (0)