如何使Rmarkdown带有输出字文档解释CSS代码?

时间:2019-06-14 00:18:10

标签: r-markdown

我需要在形状周围放置文字。如果输出是带有CSS代码的html,则可以这样做。但是我的输出必须是word,然后Rmarkdown会忽略CSS代码段。如何使用输出字词解释CSS代码来使Rmarkdown正常运行?或者,如何在图形周围带有输出词的文本?

---
title: "Wrap text around figure "
author: "Sheyla Trefflich"
date: "June 12, 2018"
output: html_document
---


```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

<div style= "float:right;position: relative; top: -70px;">
![](infographic.png)
</div>

Words words words words words words words words words words words 
words Words words words words words words words words words words 
words words words words words words words words words words words 
words words Words words words words words words words words words 
words words words Words words words words words words words words 
words words words word sWords words words words words words words 
words words words words words Words words words words words words 
words words words words words words Words words words words words 
words words words words words words words Words words words words 
words words words words words words words words Words words words 
words words words words words words words words words

0 个答案:

没有答案