R标记水平规则仅在标题下有效,其他地方无效,为什么?

R标记水平规则仅在标题下有效,其他地方无效,为什么?,r,r-markdown,knitr,pandoc,R,R Markdown,Knitr,Pandoc,在R Markdown中,我可以键入以下代码,将其转换为HTML,并在标题下创建一个水平规则,但不在文本下。如果我将相同的代码粘贴到我正在输入的StackOverflow窗格中,则标题和文本下都有水平规则。为什么R Markdown忽略了第二条水平规则 --- title: "Untitled" output: html_document: default --- # Heading *** Text *** 只要多做一次换行 --- title: "Untitled" output:

在R Markdown中,我可以键入以下代码,将其转换为HTML,并在标题下创建一个水平规则,但不在文本下。如果我将相同的代码粘贴到我正在输入的StackOverflow窗格中,则标题和文本下都有水平规则。为什么R Markdown忽略了第二条水平规则

---
title: "Untitled"
output:
  html_document: default
---

# Heading
***

Text
***

只要多做一次换行

---
title: "Untitled"
output:
  html_document: default
---

# Heading
***

Text

***

只要多做一次换行

---
title: "Untitled"
output:
  html_document: default
---

# Heading
***

Text

***

回答了这个问题的一个非常相似的版本回答了这个问题的一个非常相似的版本