[Julia] Indented code cell are not evaluated with `engine: julia`

Open
#12,371 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
julia
Domain
cli

Research direction

No source files or tests are named. Reproduce the indented-list examples and compare the Julia engine behavior with the Jupyter engine output shown in the issue; done means the Julia code is evaluated while the code block and its output retain the list indentation.

Written by the indexing model from the issue text.

Description

engines-julia enhancement upstream
---
title: "Untitled"
format: markdown
jupyter: julia-1.11
---

- inside a list 

  ```{julia}
  1 + 1
  ```

  Should stay indented

When using Jupyter engine, it works and gives

---
jupyter: julia-1.11
title: Untitled
toc-title: Table of contents
---

-   inside a list

    :::: {.cell execution_count="1"}
    ``` {.julia .cell-code}
    1 + 1
    ```

    ::: {.cell-output .cell-output-display execution_count="5"}
        2
    :::
    ::::

    Should stay indented

With engine: julia it doesn't

---
title: "Untitled"
format: markdown
engine: julia
---

- inside a list 

  ```{julia}
  1 + 1
  ```

  Should stay indented

gives

---
title: Untitled
toc-title: Table of contents
---

-   inside a list

    ``` {julia}
    1 + 1
    ```

    Should stay indented

Julia engine should probably be working like Jupyter on this.

Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from quarto-dev/quarto-cli

All issues in quarto-dev/quarto-cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.