io12 / org-fragtog

Automatically toggle Org mode LaTeX fragment previews as the cursor enters and exits them
MIT License
406 stars 14 forks source link

Toggle Entire Line #38

Closed ninjaguppy closed 2 years ago

ninjaguppy commented 2 years ago

Describe the solution you'd like I would love it if all of the fragments on the current line were toggled instead of only the fragments under the cursor. That way when you move to a new line you can see all of the relevant latex code but the entire line re-toggles upon leaving the line. I'm not sure how difficult this would be to implement I figured it would be worth a suggestion!

Additional context Back when I used vim, one of my favorite packages was tex-conceal which provides very similar functionality.

wosined commented 2 years ago

I never used tex-conceal, but it looks more similar to prettifying than previewing.

ninjaguppy commented 2 years ago

I was able to get something similar working with prettying---thanks!