Closed AsciimovLee closed 6 months ago
ckeditor5-math supports MathJax and Katex, but not both at the same time. There might be some ways around it but IMO it's not worth it.
Can I pull and modify the source code to replace katex with Mathjax?
Yes, you need to pull trilium-ckeditor5
repo, do changes there, build the ckeditor.js
, pull trilium repo and replace ckeditor.js
and build/run that repo.
In the process of replacing KaTeX with MathJax, I encountered two rendering problems.
What is your opinion on these two issues?
Trilium has entered maintenance mode. Future enhancements will be addressed in TrilumNext: https://github.com/TriliumNext/Notes/issues/73
I found that Ckeditor5-math supports MathJax. Is it possible to add a button to select Katex or MathJax. Because I prefer MathJax to Katex.