Skip to content

include shortcode in computation code cell are not resolved for julia engine #10008

@cderv

Description

@cderv

Following up on #9984

Sorry, but I think I was confused by all the different things I tried.
Actually there seems to be a bug when using includes in the julia engine executable code block.

test.qmd

---
title: test
engine: julia
format:
  gfm: default
---

````{julia}
#| eval: false
{{< include foo.jl >}}
````

foo.jl

"""
```python
1 + 1
```
"""

output:

# test


``` julia
"""
```python
1 + 1
```

““”

\`\`\`

If it is not an executable code block, it works fine.

# test


```` julia
#| eval: false
"""
```python
1 + 1
```
"""
````

So I suppose this is a bug of QuartoNotebookRunner.jl?
(The fact that the number of backticks varies from engine to engine was quite an unexpected behavior for me, though.)

Originally posted by @eitsupi in #9984 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions