Re:916 Days of Emacs
by umanwizard on Thursday April 13, 2023 @01:26PM
(#35558969)
Yep. Just wrote this today to prettify all the tables in a Markdown file:
I'd have no idea how to do this in vim!
[ Parent
| on HN ]
Re:916 Days of Emacs
by ParetoOptimal on Thursday April 13, 2023 @05:45PM
(#35562515)
A macro and a plugin installed with the markdown-table-align equivalent? Though you could also use this approach with emacs macros too.
Re:916 Days of Emacs
by umanwizard on Thursday April 13, 2023 @09:43PM
(#35564547)
In vim I wouldn’t know where to find that markdown-table-align exists nor how to write a macro (and I used vim for much longer than emacs). In emacs I just had to notice that pressing tab in markdown mode aligned tables (among other things), then press C-h k <TAB> to see what function that key invokes, jump to the code for it and start reading.