Hacker News new | ask | show | jobs
by sureglymop 1430 days ago
All of that's great... but wouldn't it be much better to render the latex, mermaid etc server side? I'm a bit baffled that apparently Hugo can't do that.
2 comments

Sure, there's certainly interest in doing this. See this post for more details: https://misha.brukman.net/blog/2022/04/writing-math-with-hug... (I'm not the author of this post)

Client-side rendering works well enough for me, and has been for years (as a visitor). I don't see a benefit to integrate a custom Hugo patch to get server-side rendering for my simple personal blog.

I do this for my mermaid charts but it's a manual process for the moment. I need to dockerize it and add in a hook.