本文介绍了如何在R Markdown中超链接图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
基于我对markdown语法的理解,这是将超链接添加到嵌入式图像的方式,但是使用R Markdown似乎不起作用.我在做什么错了?
Based upon my understanding of markdown syntax, this is how you add a hyperlink to an embedded image, yet this does not seem to work using R Markdown. What am I doing wrong?
[![替代文字] [保存图像的本地路径]] [网络链接]
[![alt text][local path to saved image]][web link]
推荐答案使用这种方式:![Alt text](Web link or path) 示例:![Image name](img/image.png)或 ![Image name](www.host/image.png)
Use this way: ![Alt text](Web link or path) Examples: ![Image name](img/image.png) or ![Image name](www.host/image.png)
结合超链接[text](URL)的常规语法,我们有:
Combining with the normal syntax for a hyperlink [text](URL), we have:
[![Alt text](Web link or path)](web link to website)示例:
[![Image name](image.png)](www.host/link.html)更多推荐
如何在R Markdown中超链接图像
发布评论