Skip to content
New issue

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

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

Already on GitHub? # to your account

feat(images): add support for rendering latex math expressions #935

Conversation

rinx
Copy link
Contributor

@rinx rinx commented Mar 16, 2025

Summary

This PR adds support for rendering LaTeX math expressions in org files by using snacks.images.

image

Related: #907

Related Issues

Changes

  • Add a tree-sitter query for detecting latex math expressions

Checklist

I confirm that I have:

  • Followed the
    Conventional Commits
    specification
    (e.g., feat: add new feature, fix: correct bug,
    docs: update documentation).
  • My PR title also follows the conventional commits specification.
  • Updated relevant documentation, if necessary.
  • Thoroughly tested my changes.
  • Added tests (if applicable) and verified existing tests pass with
    make test.
  • Checked for breaking changes and documented them, if any.

Verified

This commit was signed with the committer’s verified signature.
breautek Norman Breau
adds a treesitter query for representing latex math expressions
in org code blocks.
by using snacks.images, they are shown as rendered image.

Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Copy link
Member

@kristijanhusak kristijanhusak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kristijanhusak kristijanhusak merged commit 0ebe2e3 into nvim-orgmode:master Mar 19, 2025
17 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants