在 Jupyter notebook 中工作,我可以像这样直接在 markdown 中包含图像:
![description](filename.bmp)
如果文件名包含空格,这似乎不起作用:
![description](file name with spaces.bmp)
有没有办法在直接 Markdown 中转义文件名中的空格?以下变体不起作用:
![description]('file name with spaces.bmp')
![description]("file name with spaces.bmp")
![description](file\ name\ with\ spaces.bmp)
![description]('file\ name\ with\ spaces.bmp')
![description]("file\ name\ with\ spaces.bmp")
![description](file_name_with_spaces.bmp)
![description]((file name with spaces.bmp))
![description]({file name with spaces.bmp})
顺便说一句,如果重要的话,我正在使用 Debian 10。
最佳答案
Use %20
for spaces ,例如:
![description](file%20name%20with%20spaces.bmp)
关于image - 在 Markdown 中包含图像时如何转义文件名中的空格?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62828966/