Skip to content

Latest commit

 

History

History
executable file
·
51 lines (29 loc) · 1.75 KB

README.md

File metadata and controls

executable file
·
51 lines (29 loc) · 1.75 KB

Archiving notice

Consider project archived (i am not archving it as repo become read only)....

As now there is a better well maintained plugin for image support for neovim, image.nvim, i am considering porting this into it in the future...

Anyone wanted to work on this can fork this if you let me know, i will add link to that for at top of this read me and archive this repo.

hologram-math-preview.nvim

A simple Neovim plugin for previewing latex equations in markdown/orgmode/norg/tex files

demo - current progress

hologram-math-preview-demo-async.webm

Installation

{'Vaisakhkm2625/hologram-math-preview.nvim'}

TODOs

  • find pos of equations and place images
  • keep track of images generated, keep it in memory and don't generate each time
  • scrolling with the buffer, (taken care by hologram itself)
  • exposing options to configure custom tex engine and custom preamble
  • proper installation instructions

This was started for me to learn and test similar impl for neorg,- not for daily use latex redering base implementation i took from Vhirro's neorg's unmerged branch, https://github.com/nvim-neorg/neorg/commit/73ca7b63c79a76d5cd8a3f0b39c5d171c1406fdc though there are a lot of changes now as this is using a different latex engine