首页 > 解决方案 > Rmarkdown H1 标题作为标签(tabset)

问题描述

我想要一个 H1 部分是选项卡的布局。有没有办法做到这一点?

Rmarkdown 使用 H1 作为章节标题而不是标题已经让我感到困扰,这就是为什么这并不简单。

例子:

---
title: "The Actual Title"
output:
  html_notebook:
    number_sections: yes
    toc: yes
    code_folding: hide
---

# Heading 1
Stuff including lots of subheadings

# Heading 2
Stuff including lots of subheadings

# Heading 3
Stuff including lots of subheadings

输出:

            _____________
Heading 1  |  Heading 2  |  Heading 3 

标签: rtabsr-markdownheadingrnotebook

解决方案


推荐阅读