2 ms·
+1 for plantuml integration in org-mode. I have a university class teaching UML and it has been very helpful. To get the true plantuml "UML IDE" experience, ha
by joonoro 11y ago
+1 for plantuml integration in org-mode. I have a university class teaching UML and it has been very helpful.
To get the true plantuml "UML IDE" experience, have the exported png open in a window (in the emacs sense) side-by-side with the code. Enable 'auto-revert-mode' on the image so that whenever you eval it it gets refreshed. If you run into problems where the image shows up in binary mode after reverting just enable 'auto-image-file-mode' (keeps it in image-mode).
You can also make it more "responsive" by setting the auto-revert-mode interval to something shorter (by default it checks every 5 seconds if the file has changed). I just defined a new 'fast-auto-revert-mode' function where it turns the mode on after let-ting the interval be 1 second, then added that as a hook for 'image-minor-mode-hook'.