|
|
|
|
|
by bananicorn
1904 days ago
|
|
To add to that - if you prefer writing the body of the post itself in markdown, and write in VIM, here's a little snippet that might help: :%!markdown_py where markdown_py is your markdown-to-html tool of choice.
This will take the whole buffer and turn it into HTML;
Otherwise, just select what you want transformed in visual mode, press : and go use it like this: :'<,'>!markdown_py Just felt the need to share - any command line utility can be used in VIM :) (Emacs, VSCode and other editor-using people feel free to chime in, I'm sure there's lots of cool approaches to this) |
|