我尝试使用两个空格将字幕与纯文本分开。
我的 .Rmd 文档的第一部分如下所示
---
title: 'Script de Limpieza: errores de digitalizacion y division de base madre'
author: "Leonardo Doig & Karen Lau"
date: "10/9/2020"
output:
html_document: default
word_document: default
pdf_document: default
---
{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
some random words should be here
#### First subtitle
there are 2 blank spaces after the first subtitle
{r message=FALSE}
library(lubridate)
#### Second Subtitle
plain text (after the second subtitle there are 2 blanks spaces too)
Run Code Online (Sandbox Code Playgroud)
但最终的输出总是这样的:
纯文本
第一个字幕 …