jrblevin / markdown-mode

Emacs Markdown Mode
http://jblevins.org/projects/markdown-mode/
GNU General Public License v3.0
898 stars 162 forks source link

add menu/shortcut to switch between atx/settext #565

Open anarcat opened 3 years ago

anarcat commented 3 years ago

Could we get a quick shortcut to switch between atx and settext?

I keep on making half-assed macros for this, it would be nice to have support for this directly in the module...

thanks!

anarcat commented 4 months ago

note to self: i've tried using pandoc to do that conversion automatically, but it rewrites too much stuff in the file, it's impractical.

what i end up doing is a macro that searches for ---- then deletes that line, goes one line up, and adds ##, then same with === and #. It has some false negatives, but with a git-backed file, those are easy to revert.