From c7d1646824d02baa54bc766ef3796aaa10c3e3e9 Mon Sep 17 00:00:00 2001 From: Groupr Date: Tue, 11 Nov 2025 04:15:47 +0000 Subject: [PATCH] Update create.j2 Updated textarea onkeyup handler to pass katex={{ request.katex }} instead of mathjax={{ request.mathjax }} in thread creation form. --- remarkbox/templates/snippets/create.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remarkbox/templates/snippets/create.j2 b/remarkbox/templates/snippets/create.j2 index a4cff25..6733c03 100644 --- a/remarkbox/templates/snippets/create.j2 +++ b/remarkbox/templates/snippets/create.j2 @@ -11,7 +11,7 @@ name = "thread_data" id = "thread_data_textarea" class = "common-textarea" - onkeyup = "previewAjax( 'thread_data_textarea', 'preview', show_raw=true, mathjax={{ request.mathjax }} )" + onkeyup = "previewAjax( 'thread_data_textarea', 'preview', show_raw=true, katex={{ request.katex }} )" placeholder = "What do you want to say? markdown" required>