Commit 2e482eca authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac

parent fdea1afc
......@@ -11,8 +11,6 @@ const convertLatexToSingleLine = (content) => {
const patterns = [
/(\$\$[\s\S]*?\$\$)/g, // Match $$ ... $$
/(\\[\s\S]*?\\])/g, // Match \[ ... \]
/(\$\[\s\S]*?\$\])/g, // Match $\[ ... \]$
/(\$\(\s\S]*?\$\))/g, // Match $\( ... \)$
/(\\begin\{[a-z]+\}[\s\S]*?\\end\{[a-z]+\})/g // Match \begin{...} ... \end{...}
];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment