Skip to content

rka97/org-fragtog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://melpa.org/packages/org-fragtog-badge.svg

org-fragtog

Automatically toggle Org mode LaTeX fragment previews as the cursor enters and exits them

About

Org mode supports inline image previews of LaTeX fragments. These can be toggled with C-c C-x C-l . org-fragtog automates this, so fragment previews are disabled for editing when your cursor steps onto them, and re-enabled when the cursor leaves.

./demo.gif

Setup

Install and load the package, then add the snippet below to your config.

(add-hook 'org-mode-hook 'org-fragtog-mode)

Although this package uses Org mode’s fragment preview feature, it should work with anything that uses the same fragment syntax, such as Markdown files or formulas in code comments.

Note that org-fragtog requires a newer version of Org mode than what is currently distributed with Emacs. You can get the latest version of Org from Org ELPA.

About

Automatically toggle Org mode LaTeX fragment previews as the cursor enters and exits them

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Emacs Lisp 100.0%