test || test

Test Pictures in .Rmd File

Pictures with shortcodes

There is a problem of rendering with hugo pictures shortcodes in blogdown. You need to frame the doble quotes of the picture source with single quotes.

blogdown::shortcode("figure", src = '"/img/blogdown-tutorial/four-pane-view-after-installation.png"', alt = "Some alt text")

With this workaorund pictured called via Hugo shortcodes should now show up:

Some alt text
YEP! It worked!

Pictures with knitr

knitr::include_graphics("/img/blogdown-tutorial/four-pane-view-after-installation.png")

Pictures with standard markdown:

Image is shown but the alt text is also shown as normal text.

![my alt text](/img/blogdown-tutorial/four-pane-view-after-installation.png)
my alt text

my alt text

Creative Commons LicenseThis work by Peter Baumgartner is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Permissions beyond the scope of this license may be available at http://peter.baumgartner.name/kontakt.
Powered by the docdock theme for Hugo.