-
Notifications
You must be signed in to change notification settings - Fork 392
Open
Labels
bugSomething isn't workingSomething isn't workingojs-engineIssues with the ojs engineIssues with the ojs engine
Milestone
Description
Not tagging this as a bug as I'm not sure if I'm doing something wrong -- would appreciate any help. I'm using Quarto 1.1.251.
Inputs in ObservableJS cells created in Quarto with hugo as the output format, then rendered to html using hugo seem to be hidden. Here is an example qmd:
---
title: Test Quarto + Hugo + OJS
author: Aaron Schiff
date: 2022-09-19T17:12:56+12:00
draft: false
format: html
execute:
echo: false
warning: true
---
## Testing OJS input
```{ojs}
viewof test_input = Inputs.select(['A', 'B', 'C'], { label: "Pick one:" });
```
Should be input box above here.
The output after rendering with hugo looks like this:
The select input exists in the rendered html but has display: none; applied by quarto-ojs.css:
If I change the output target to html, the select input appears as expected:
Is this a Quarto issue or have I done something wrong, eg in the yaml?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingojs-engineIssues with the ojs engineIssues with the ojs engine


