Skip to content

Vim plugin to yank markdown text to the clipboard as HTML

License

Notifications You must be signed in to change notification settings

nathanalderson/yanktohtml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yanktohtml

This plugin provides a single function (:YankToHtml) which allows you to yank some markdown text and have it placed on the clipboard as HTML. The "content-type" of the clipboard will be appropriately set so that pasting applications can intelligently paste the text as richly formatted text. This is useful, for example, if you want to compose some text in markdown in vim and then paste it into your email client or word processor as properly formatted text.

demo

It relies on pandoc and xclip, so it'll be easiest to use on Linux-y systems, but you might be able to get it working on Mac/Windows. Let me know if you do!

See the docs for full usage information.

About

Vim plugin to yank markdown text to the clipboard as HTML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published