Skip to content

Multi line string highlighting is not correct #356

@cderv

Description

@cderv

From https://community.rstudio.com/t/xaringan-highlight-multi-line-strings-in-a-code-chunk/141311

--- 
title: "A Minimal Book Example"
output: xaringan::moon_reader
---

# test

```{r, eval = FALSE}
df <- dbGetQuery(con, "SELECT film_id, title, description FROM 
                 film WHERE release_year = 2006")
head(df, 3)
```

I think this is an issue with highlight.js and remark.js.

Not sure if we can tweak something on our side.

BTW This is working correctly for html_document.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions