我在Rmarkdown中编写一个报告,该报告将以html格式呈现,因为它包含Rshiny块.有什么办法可以在文件中添加行号吗?
重要的是,我需要文本的行号,而不是这里要求的代码块.
我想知道是否可以在下面的.Rmd文件中添加一些CSS,但不知道该怎么做.
---
title: "Title"
author: "Yourname"
date: "June 16, 2016"
output: html_document
runtime: shiny
---
This R Markdown document is made interactive using Shiny.
Unlike the more traditional workflow of creating static reports, you can now create documents that allow your
readers to change the assumptions underlying your analysis and see the results immediately.
## Inputs and Outputs
You can embed Shiny inputs and outputs in your document. Outputs are automatically …Run Code Online (Sandbox Code Playgroud)