Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: link to a local file name with spaces #699

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion doc/markdown-cells.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,15 @@
"\n",
"The linked files are automatically copied to the HTML output directory.\n",
"For LaTeX output, links are created,\n",
"but the files are not copied to the target directory."
"but the files are not copied to the target directory.\n",
"\n",
"You should try to avoid spaces in file names,\n",
"but if you insist, you'll have to replace the spaces with `%20` in the link:\n",
"[a file with spaces in its name](subdir/a%20file%20name%20with%20spaces.txt).\n",
"\n",
"```\n",
"[a file with spaces in its name](subdir/a%20file%20name%20with%20spaces.txt)\n",
"```"
]
},
{
Expand Down
1 change: 1 addition & 0 deletions doc/subdir/a file name with spaces.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
You should avoid spaces in file names!
Loading