2

我不知道这种行为是否是预期的,我在 Rstudio 查看器和使用标准浏览器(Firefox、Chrome)打开的同一.Rmd文件的 html 文件之间遇到了不同的布局。

在 Rstudio 查看器中 观众

在 Chrome(或 Firefox)中 铬合金

我正在使用seal: false手动编辑标题页。
这是一个最小的可重现示例:

---
title: "Title"
subtitle: "SubTitle"
author: "BVA"
date: "2018-08-22"
output:
  xaringan::moon_reader:
    lib_dir: libs
    nature:
      highlightStyle: github
      highlightLines: true
      countIncrementalSlides: false
    seal: false
---
```{r setup, include=FALSE}
options(htmltools.dir.version = FALSE)
```

# Very <br> long <br> title

## Very <br> long <br> subtitle

very tiny text

版本:
Rstudio:1.1.456
R 版本:3.5.1
xaringan:0.7(与 0.7.1 相同)

4

0 回答 0