Skip to content

Unescaping new inline code cells inside code blocks is not working correctly. #8389

@cscheid

Description

@cscheid

This happens in both engines. Minimal reprex:

InputOutput
---
engine: jupyter
keep-md: true
---

```
This doesn't unescape: `{{python}} 1.2`
This evaluates: `{python} 1.2`
```
---
engine: jupyter
keep-md: true
---


```
This doesn't unescape: `{{python}} 1.2`
This evaluates: 1.2
```
---
engine: knitr
keep-md: true
---

```
This doesn't unescape: `{{r}} 1.2`
This evaluates: `{r} 1.2`
```
---
engine: knitr
keep-md: true
---



```
This doesn't unescape: `{{r}} 1.2`
This evaluates: 1.2
```

It's very hard to write about the feature in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions