R markdown 在HTMLheaders后面添加#link
R markdown adds # link behind HTML headers
我一直在努力解决一些 HTML 编织问题。我的 HTML 目前不允许我在代码中使用 HTML,因此我无法创建标签集。
但是,在尝试解决该问题时出现了一个新问题:我的 HTML 输出在每个 # Header.
后面添加了一个可点击的 #
我使用基本的 Rmarkdown 格式:
---
title: "Try"
output: html_document
---
/```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
/```
## R Markdown
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
## Including Plots
然后输出显示如下:
无论如何知道如何解决这个问题?
这是rmarkdown当前开发版本引入的新功能。 See the NEWS file for more info.要禁用此功能,您可以使用:
output:
html_document:
anchor_sections: false
我一直在努力解决一些 HTML 编织问题。我的 HTML 目前不允许我在代码中使用 HTML,因此我无法创建标签集。
但是,在尝试解决该问题时出现了一个新问题:我的 HTML 输出在每个 # Header.
后面添加了一个可点击的 #我使用基本的 Rmarkdown 格式:
---
title: "Try"
output: html_document
---
/```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
/```
## R Markdown
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
## Including Plots
然后输出显示如下:
无论如何知道如何解决这个问题?
这是rmarkdown当前开发版本引入的新功能。 See the NEWS file for more info.要禁用此功能,您可以使用:
output:
html_document:
anchor_sections: false