问题
I can't find a way to insert an inline image on a markdown document I'm producing with RStudio.
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.
Is this currently possible?
Here's an example using html for a svg image:
link: http://www.herongyang.com/HTML/HTML5-Add-Inline-SVG-Image-HTML5-Documents.html
回答1:
Markdown syntax allows inline images:
foo ![](image.png) bar
回答2:
Could also use the display property
![](images.png?display=inline-block)
来源:https://stackoverflow.com/questions/43139460/add-inline-image-in-rmarkdown