From 6b243bf2b21b7101b2ed52c1f3d9814faf6a0310 Mon Sep 17 00:00:00 2001 From: Andrii Ieroshenko Date: Wed, 7 Feb 2024 13:45:42 -0800 Subject: [PATCH] Update escapeLatexDelimiters docstring per @dlqqq --- packages/jupyter-ai/src/components/rendermime-markdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jupyter-ai/src/components/rendermime-markdown.tsx b/packages/jupyter-ai/src/components/rendermime-markdown.tsx index 35009a25d..63dfc9300 100644 --- a/packages/jupyter-ai/src/components/rendermime-markdown.tsx +++ b/packages/jupyter-ai/src/components/rendermime-markdown.tsx @@ -13,7 +13,7 @@ type RendermimeMarkdownProps = { }; /** - * Escape LaTeX delimeters by adding extra backslashes where needed for proper rendering by @jupyterlab/rendermime. + * Takes \( and returns \\(. Escapes LaTeX delimeters by adding extra backslashes where needed for proper rendering by @jupyterlab/rendermime. */ function escapeLatexDelimiters(text: string) { return text