-
-
Notifications
You must be signed in to change notification settings - Fork 574
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
Render LaTeX #373
Render LaTeX #373
Conversation
I love what you’ve done and agree that this would be useful for many users. However, I think it might be better suited as a (docs) blog post rather than a default feature, as LaTeX syntax seems specific to certain use cases, like the blog post you've written. How about creating a docs blog post for what you've implemented so far? This way, we avoid adding additional dependencies to the project, while users who want to use LaTeX syntax can follow along with the guide. |
@satnaing yep, I noticed the emphasis on the |
44f88ff
to
02a4ee3
Compare
@albertoperdomo2 |
@satnaing LGTM 👍🏽 |
This PR introduces LaTeX equation rendering capability to AstroPaper, enhancing its functionality for technical and scientific writing. By integrating KaTeX, we now support rendering of both inline and block LaTeX equations in Markdown files.
I do think this will enlarge the use of AstroPaper in the scientific community.
Many technical bloggers and documentation writers need to include mathematical equations in their content. Adding LaTeX support significantly expands AstroPaper's usefulness for these users, making it a more versatile platform for a wider range of creators.
Changes Made
astro.config.mjs
to includeremark-math
andrehype-katex
plugins.Layout.astro
file to include KaTeX CSS.rehype-katex
,remark-math
, andkatex
) topackage.json
.