hide preview

What's next? verify your email address for reply notifications!

lukealex 4y, 180d ago [edited]

My site uses pre-rendered Katex, whereas this comment box uses MathJax. MathJax is perhaps slightly better in some ways, but it's also slower, and I don't really know how to use it with my static site builder (it's certainly doable, especially with MathJax 3, but Katex is already supported with just a little bit of configuration). For comparision,

The live preview for these comments jumps around and act a bit buggy—especially when typing latex. A pity because I otherwise quite like it; I might disable the MathJax and try to implement Katex dynamically; and maybe have it 'lazy load' so it has no affect on browser performance unless you're actually looking at a comment with latex.

Well, the sides of the matrix look much better than above. But I think the markdown interpreter is escaping the ampersands (which it shouldn't) before the latex is put into the script tag (which is how the data is actually stored in the comment for some reason; I guess it means the preprocessor doesn't need to be enabled unless someone starts writing a new comment.)

remark link
hide preview

What's next? verify your email address for reply notifications!

russell 1y, 59d ago [edited]

Sorry about the dupe comment. please disable the other one.

Hope you are well.

Remarkbox is open source now so we could switch or also have a checkbox for Katex. Sorry about the Markdown escaping, I think we should be able to fix that as well.

https://git.unturf.com/engineering/remarkbox/remarkbox

Let me know if you create an account & I can bless it into the system.

hide preview

What's next? verify your email address for reply notifications!

unverified 7h, 2s ago

e

hide preview

What's next? verify your email address for reply notifications!

unverified 7h, 2s ago

e

hide preview

What's next? verify your email address for reply notifications!

unverified 6h, 58m ago

e

hide preview

What's next? verify your email address for reply notifications!

unverified 6h, 58m ago

e

hide preview

What's next? verify your email address for reply notifications!

unverified 6h, 57m ago

e

hide preview

What's next? verify your email address for reply notifications!

unverified 6h, 57m ago

e

hide preview

What's next? verify your email address for reply notifications!

unverified 6h, 57m ago

e

hide preview

What's next? verify your email address for reply notifications!

unverified 6h, 57m ago

e

hide preview

What's next? verify your email address for reply notifications!

unverified 6h, 57m ago

e

hide preview

What's next? verify your email address for reply notifications!