Blogdown::build_site() in Rstudio with blogdown

blogdown::build_site()
Error: Error building site: “C:\Users\psyyxq\Documents\myprojects\CV\Jason\content\slides\example\index.md:83:1”: failed to extract shortcode: template for shortcode “fragment” not found

What is the reason for this and how to solve it?

Reason: there is no layouts/shortcodes/fragment.html, neither your project nor the modules/themes you might use.

Solve it: Add the shortcode.

With a sample of your not-working site we could check if that is really the reason or if your blogdown configuration or setup blocks anything.

Thanks for your answer, the new question is how to add shortcode “fragment”?

Hi

You will find some information about shortcodes here : Shortcodes | Hugo and especially about creating shortcodes here : Create Your Own Shortcodes | Hugo

As @davidsneighbour wrote, it would be more efficient if we could have access to your non working code, or if you post it.

Thanks

Is this related to Wowchemy?
Is your theme fully installed, and is your site configuration correct?

It would be helpful if you could share a link to the public repository for your project.