【问题标题】:R Markdown horizontal rule only works under headings, nowhere else, why?R Markdown 水平规则仅在标题下有效,在其他地方无效,为什么?
【发布时间】:2018-03-30 20:53:23
【问题描述】:

在 R Markdown 中,我可以键入以下代码,将其编织成 HTML,然后在标题下方创建水平线,但不在文本下方。如果我将相同的代码粘贴到我现在正在输入的这个 StackOverflow 窗格中,标题和文本下都有水平规则。为什么 R Markdown 省略了第二条横线?

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

# Heading
***

Text
***

【问题讨论】:

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

标签: r r-markdown knitr pandoc


【解决方案1】:

只需多做一个换行符

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

# Heading
***

Text

***

【讨论】:

    猜你喜欢
    • 2020-02-23
    • 2019-10-27
    • 1970-01-01
    • 2011-03-21
    • 2019-12-27
    • 2018-08-29
    • 2017-04-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多