blogdown + hugo,标签式代码块不显示主题 tranquilpeak

blogdown + hugo, tabbed codeblock doesn't show up with theme tranquilpeak

我将 blogdown 与 hugo(主题 tranquillpeak)一起使用。当我在我的 .Rmd 文件中添加一个选项卡式代码块时,该代码块没有按预期显示,而是显示为普通文本。知道为什么吗?

2017-09-02-tabbed-codeblock.Rmd

---
title: tabbed-codeblock
author: 
date: "2017-09-02"
output: 
html_document: 
  keep_md: yes
---

### Testing tabbed codeblock

{{< tabbed-codeblock >}}
    <!-- tab js -->
    var test = 'test';
    <!-- endtab -->
    <!-- tab css -->
     .btn {
        color: red;
    }
    <!-- endtab -->
{{< /tabbed-codeblock >}}

参见 blogdown 书中的 Section 2.3.2

Shortcodes are supposed to work in plain Markdown documents only. To use shortcodes in R Markdown instead of plain Markdown, you have to call the function blogdown::shortcode().

如果您不清楚,请阅读函数 blogdown::shortcode() 的 R 帮助页面。