I tried a basic widget example in a .qmd file:
from ipywidgets import interact
import numpy as np
@interact(alpha=(-5, 5, 0.1))
def f(alpha):
return print(np.linspace(-10, 10) ** alpha)
The slider and the output appear, but the output does not update when the slider does:
Happy to dig into this more if someone can suggest a place to look. I'd love to be able to go directly from Jupyter notebooks to interactive documents on a website.