0.0.11 • Published 7 years ago

@pixelastic/markdown-preview v0.0.11

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

markdown-preview

Renders a preview of a markdown text in your browser.

Usage

$ markdown-preview ./readme.md

Preview

Installation

Install globally with yarn global add @pixelastic/markdown-preview

Integration with vim

I've added the following mapping to my after/ftplugin/markdown.vim to see a preview when I press F5.

nnoremap <silent> <buffer> <F5> :call MarkdownPreview()<CR>
function! MarkdownPreview()
  silent execute ':!nohup markdown-preview % &>/dev/null &'
  redraw!
endfunction

Limitations

  • Uses a hard-coded /tmp/ to store the HTML file
  • Uses a hard-coded google-chrome to open the file
  • Does not handle local images
0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago