Skip to content

write markdown in Vim with live-reloads in MacDown

Notifications You must be signed in to change notification settings

Matt-Freeland/vim-macdown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

macdown.vim

write markdown in Vim with live-reloads in MacDown

Usage

Using this plugin requires two things:

  • You are on a Mac
  • You have MacDown installed

To install macdown.vim, use your favorite Vim plugin manager (e.g. Plug):

Plug 'hashrocket/vim-macdown'

On demand:

  • <leader>p (\p with default vim config)
  • :MacDownPreview to invoke by name or in a script

Make some edits to a markdown file and then hit <leader>p to view a preview in Macdown.

*On save for .md files:

Add the following to your .vimrc:

" execute commands on filetype save
autocmd BufWritePost *.md exec :MacDownPreview

License

macdown.vim is released under the MIT License.


About

Hashrocket logo

macdown.vim is supported by the team at Hashrocket, a multidisciplinary design and development consultancy. If you'd like to work with us or join our team, don't hesitate to get in touch.

About

write markdown in Vim with live-reloads in MacDown

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%