webexercises icon indicating copy to clipboard operation
webexercises copied to clipboard

Does webexercise support "revealjs"? Problems with <input>-field

Open OffByOne37 opened this issue 1 year ago • 0 comments

Hello!

I have trouble using webexerises with revealjs.

The problem is, when I want to create a exercise where an input field is required, the library creates this for me:


::: {.webex-check .webex-box}

$k$ = <input class='webex-solveme nospaces' data-tol='0.01' size='20' data-answer='["-0.62","-.62"]'/>

$d$ = <input class='webex-solveme nospaces' data-tol='0.01' size='20' data-answer='["-2.5"]'/>

:::

This would be correct and it also works if i render my document as a html. However whenever i render it to the format revealjs the -fields get substituted with simply:

= ____________________

Does someone know what the problem is? Some more information can be seen on this [issue](https://github.com/quarto-dev/quarto-cli/discussions/8412#discussioncomment-8232557

I Link to a Github-Repo with this problem is here: https://github.com/OffByOne37/problem_input_field

Thanks!

OffByOne37 avatar Jan 24 '24 13:01 OffByOne37