Skip to content

Commit 82dd25f

Browse files
committed
DOC: link to a local file name with spaces
1 parent 85f7a2a commit 82dd25f

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

doc/markdown-cells.ipynb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,15 @@
627627
"\n",
628628
"The linked files are automatically copied to the HTML output directory.\n",
629629
"For LaTeX output, links are created,\n",
630-
"but the files are not copied to the target directory."
630+
"but the files are not copied to the target directory.\n",
631+
"\n",
632+
"You should try to avoid spaces in file names,\n",
633+
"but if you insist, you'll have to replace the spaces with `%20` in the link:\n",
634+
"[a file with spaces in its name](subdir/a%20file%20name%20with%20spaces.txt).\n",
635+
"\n",
636+
"```\n",
637+
"[a file with spaces in its name](subdir/a%20file%20name%20with%20spaces.txt)\n",
638+
"```"
631639
]
632640
},
633641
{
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
You should avoid spaces in file names!

0 commit comments

Comments
 (0)