Updating nb tutorials

This commit is contained in:
Brian E. Granger 2014-03-11 15:17:39 -07:00
parent 2d7644e148
commit 2dd9d42d4f
2 changed files with 53 additions and 57 deletions

View File

@ -1,6 +1,7 @@
{ {
"metadata": { "metadata": {
"name": "Part 4 - Markdown Cells" "name": "",
"signature": "sha256:056f083d2453c83c77ea0a659e9185084426263c9e42b4c0ccbb91c773d9503b"
}, },
"nbformat": 3, "nbformat": 3,
"nbformat_minor": 0, "nbformat_minor": 0,
@ -223,21 +224,21 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"If you have local files in your Notebook directory, you can refer to these files in Markdown cells via relative URLs that are prefixed with `files/`:\n", "If you have local files in your Notebook directory, you can refer to these files in Markdown cells directly:\n",
"\n", "\n",
" files/[subdirectory/]<filename>\n", " [subdirectory/]<filename>\n",
"\n", "\n",
"For example, in the example Notebook folder, we have the Python logo:\n", "For example, in the images folder, we have the Python logo:\n",
"\n", "\n",
" <img src=\"files/python-logo.svg\" />\n", " <img src=\"images/python-logo.svg\" />\n",
"\n", "\n",
"<img src=\"files/python-logo.svg\" />\n", "<img src=\"images/python-logo.svg\" />\n",
"\n", "\n",
"and a video with the HTML5 video tag:\n", "and a video with the HTML5 video tag:\n",
"\n", "\n",
" <video controls src=\"files/animation.m4v\" />\n", " <video controls src=\"images/animation.m4v\" />\n",
"\n", "\n",
"<video controls src=\"files/animation.m4v\" />\n", "<video controls src=\"images/animation.m4v\" />\n",
"\n", "\n",
"These do not embed the data into the notebook file, and require that the files exist when you are viewing the notebook." "These do not embed the data into the notebook file, and require that the files exist when you are viewing the notebook."
] ]

File diff suppressed because one or more lines are too long