8000 chore: server side rendering of math equations by deining · Pull Request #543 · lxndrblz/anatole · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: server side rendering of math equations #543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deining
Copy link
Contributor
@deining deining commented Feb 23, 2025

This PR brings server side rendering of math equations via hugo's built-in KaTeX rendering engine.

Advantages:

  • server side rendering (instead of client side rendering)
  • no JS needed for math content
  • typesetting of formulae using LaTeX standard syntax, no escaping of delimiters needed
  • no need to activate math mode in frontmatter any more
  • internal rendering engine supports rendering of chemical equations out of the box (as of hugo version 0.144.0)
  • no need to include KaTeX dependencies any more

I hope you like this PR.

Copy link
netlify bot commented Feb 23, 2025

Deploy Preview for anatole-demo ready!

Name Link
🔨 Latest commit 9d94aff
🔍 Latest deploy log https://app.netlify.com/sites/anatole-demo/deploys/682388ba05e97f000875882b
😎 Deploy Preview https://deploy-preview-543--anatole-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 89
Accessibility: 88
Best Practices: 100
SEO: 92
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@deining deining force-pushed the math-server-side-rendering branch from d90dcbf to a4c3fa4 Compare February 23, 2025 21:52
Copy link
8000

@lxndrblz lxndrblz self-assigned this Apr 19, 2025
@lxndrblz lxndrblz added the enhancement New feature or request label Apr 19, 2025
@deining deining force-pushed the math-server-side-rendering branch from a4c3fa4 to 9d94aff Compare May 13, 2025 18:00
Copy link

@deining
Copy link
Contributor Author
deining commented May 13, 2025

Just rebased my PR and resolved merge conflicts. Looking forward seeing my PR merged soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0