Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exercises editor does not allow raw KaTeX #3448

Open
rtibbles opened this issue Jul 6, 2022 · 2 comments
Open

Exercises editor does not allow raw KaTeX #3448

rtibbles opened this issue Jul 6, 2022 · 2 comments

Comments

@rtibbles
Copy link
Member

rtibbles commented Jul 6, 2022

Users attempting to write mathematical and scientific symbols have issues as the editor appears to remove extra \ from their input that prevents it being properly rendered.

Attempt to input:

$\\text {Li}_2 \\text SO_4$

And one of the escaping \ will be removed, causing it to be rendered literally in Kolibri.

In addition, while it is possible to make them correctly render in Studio - correctly rendering in Studio is not an accurate indication of them rendering properly in Kolibri.

https://community.learningequality.org/t/issues-with-latex-subscripts/2424/3

@MisRob
Copy link
Member

MisRob commented Jul 12, 2022

We decided not to work on any kind of "manual" input during the Vue refactor, so may make more sense to consider this as a whole (together with the problem of Kolibri vs Studio rendering discrepancy) rather than one particular issue since the editor is not currently built for such use cases in general. Could be also related to allowing writing exercises in markdown.

@Mbd06b
Copy link

Mbd06b commented Jul 14, 2024

Maybe related, I am looking to render preformatted html, javascript, and other code in order to build multiple choice questions discussing code. I don't want to reinvent the wheel here with full custom html5 app module, and would prefer supporting the built-in question editor in studio.

Is this even possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants