Skip to content
Discussion options

You must be logged in to vote

Use imports across pages instead:

foo.qmd

```{ojs}
x = 1
```

bar.qmd

```{ojs}
import { x } from "./foo.qmd";
```

That should work.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rgaiacs
Comment options

Answer selected by mcanouil
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
ojs-engine Issues with the ojs engine
3 participants