在Rmarkdown中添加嵌入式图像 [英] Add inline image in Rmarkdown
本文介绍了在Rmarkdown中添加嵌入式图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我找不到在RStudio制作的降价文档中插入内嵌图像的方法.
I can't find a way to insert an inline image on a markdown document I'm producing with RStudio.
好像RmarkDown样式备忘单(https://www.rstudio.com/wp-content/uploads/2016/03/rmarkdown-cheatsheet-2.0.pdf)
没提到这样功能.
Seems like the RmarkDown Style Cheat sheet (https://www.rstudio.com/wp-content/uploads/2016/03/rmarkdown-cheatsheet-2.0.pdf)
does not mention such feature.
这当前可行吗?
以下是使用html生成svg图像的示例:链接:http://www.herongyang.com/HTML/HTML5-Add-Inline-SVG-Image-HTML5-Documents.html
Here's an example using html for a svg image:
link: http://www.herongyang.com/HTML/HTML5-Add-Inline-SVG-Image-HTML5-Documents.html
推荐答案
Markdown语法允许内嵌图像:
Markdown syntax allows inline images:
foo ![](image.png) bar
这篇关于在Rmarkdown中添加嵌入式图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文