I found the way to use shortcodes in Blogdown here .

Take the shortcodes of my custom block as an example. If I want to use them in a post created by Blogdown , I’ll do it this way:

r blogdown:shortcode("block", class="note")
Write my note …