r-wasm / quarto-live

WebAssembly powered code blocks and exercises for both the R and Python languages in Quarto documents
https://r-wasm.github.io/quarto-live/
MIT License
121 stars 7 forks source link

Exercise field not displayed #58

Closed fcichos closed 1 month ago

fcichos commented 1 month ago

Hi,

I try to setup an exercise with solution checking and hints. My basic document is

---
title: Python Example with Pyodide
format: live-html
live:
  show-hints: true
  show-solutions: true
---

# Python Example

This example demonstrates running Python code in the browser using Pyodide.

```{pyodide}
#| exercise: 1
#| check: false
# Your code here

As soon as I set check to true or if I include a hint, the input field is not anymore display. What do I do wrong?

fcichos commented 1 month ago

Ok, sorry. Found it. I was missing the check code part.