Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Markdown It | 16,045 | 36,798 | 7,420 | 3 days ago | 76 | May 03, 2022 | 45 | mit | JavaScript | |
Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed | ||||||||||
Mkdocs Material | 15,588 | 839 | 14 hours ago | 331 | July 27, 2023 | 27 | mit | HTML | ||
Documentation that simply works | ||||||||||
Grav | 14,032 | 2 | 2 | 14 days ago | 275 | July 18, 2023 | 421 | mit | PHP | |
Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony | ||||||||||
React Markdown | 11,200 | 3,628 | 2,310 | 2 days ago | 90 | April 12, 2023 | 4 | mit | JavaScript | |
Markdown component for React | ||||||||||
Dillinger | 7,664 | 4 months ago | 109 | mit | HTML | |||||
The last Markdown editor, ever. | ||||||||||
Remark | 6,689 | 3,296 | 2,190 | 12 days ago | 19 | June 25, 2022 | 5 | mit | JavaScript | |
markdown processor powered by plugins part of the @unifiedjs collective | ||||||||||
Remarkable | 5,561 | 7,473 | 636 | a month ago | 23 | May 25, 2020 | 131 | mit | JavaScript | |
Markdown parser, done right. Commonmark support, extensions, syntax plugins, high speed - all in one. Gulp and metalsmith plugins available. Used by Facebook, Docusaurus and many others! Use https://github.com/breakdance/breakdance for HTML-to-markdown conversion. Use https://github.com/jonschlinkert/markdown-toc to generate a table of contents. | ||||||||||
Bytemd | 4,184 | 37 | a month ago | 71 | March 30, 2023 | 31 | mit | TypeScript | ||
Hackable Markdown Editor and Viewer | ||||||||||
Wintersmith | 3,493 | 956 | 90 | 3 years ago | 49 | November 19, 2018 | 13 | mit | CoffeeScript | |
A flexible static site generator | ||||||||||
Zotero Better Notes | 3,435 | 5 days ago | 23 | agpl-3.0 | TypeScript | |||||
Everything about note management. All in Zotero. |
Using the markdown-preview.vim plugin, you can preview Markdown in real-time with a web browser.
This plugin needs your Vim to support Python 2 / Python 3 features. Tested on Windows / Ubuntu 14 / Mac OS X.
Note: PLEASE USE markdown-preview.nvim INSTEAD
Markdown preview
Typeset math
With vim-plug:
Add Plug 'iamcco/markdown-preview.vim'
to the vimrc
or init.vim
file and type :PlugInstall
.
Or with MathJax support for typesetting math:
Plug 'iamcco/mathjax-support-for-mkdp'
Plug 'iamcco/markdown-preview.vim'
Command:
MarkdownPreview
" Open preview window in markdown buffer
MarkdownPreviewStop
" Close the preview window and server
When
MarkdownPreview
command can't open the preview window, you can use theMarkdownPreviewStop
command before usingMarkdownPreview
command.
Default Setting:
let g:mkdp_path_to_chrome = ""
" Path to the chrome or the command to open chrome (or other modern browsers).
" If set, g:mkdp_browserfunc would be ignored.
let g:mkdp_browserfunc = 'MKDP_browserfunc_default'
" Callback Vim function to open browser, the only parameter is the url to open.
let g:mkdp_auto_start = 0
" Set to 1, Vim will open the preview window on entering the Markdown
" buffer.
let g:mkdp_auto_open = 0
" Set to 1, Vim will automatically open the preview window when you edit a
" Markdown file.
let g:mkdp_auto_close = 1
" Set to 1, Vim will automatically close the current preview window when
" switching from one Markdown buffer to another.
let g:mkdp_refresh_slow = 0
" Set to 1, Vim will just refresh Markdown when saving the buffer or
" leaving from insert mode. With default 0, it will automatically refresh
" Markdown as you edit or move the cursor.
let g:mkdp_command_for_global = 0
" Set to 1, the MarkdownPreview command can be used for all files,
" by default it can only be used in Markdown files.
let g:mkdp_open_to_the_world = 0
" Set to 1, the preview server will be available to others in your network.
" By default, the server only listens on localhost (127.0.0.1).
Key Mapping:
By default this plugin has no mapping: if you want to have your own mappings,
you can map the keys to <Plug>MarkdownPreview
for opening the Markdown preview window and
map keys to <Plug>StopMarkdownPreview
for closing the preview window.
Examples for mapping the F8
key to open Markdown preview window and F9
key to
close preview window:
" for normal mode
nmap <silent> <F8> <Plug>MarkdownPreview
" for insert mode
imap <silent> <F8> <Plug>MarkdownPreview
" for normal mode
nmap <silent> <F9> <Plug>StopMarkdownPreview
" for insert mode
imap <silent> <F9> <Plug>StopMarkdownPreview
For OS X users, you can set the g:mkdp_path_to_chrome
as below (if you use Chrome):
let g:mkdp_path_to_chrome = "open -a Google\\ Chrome"
" or
let g:mkdp_path_to_chrome = "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome"
See issue #1 for details.
Q: The Firefox preview window didn't close when leaving the Markdown file in Vim.
A: If you want the plugin to auto-close the preview window in Firefox, you have to do some configuration:
about:config
in the address bar and press the Enter
key.dom.allow_scripts_to_close_windows
and set its value to true
.You have to know what will happen when you make the above changes.
g:mkdp_open_to_the_world
option.g:mkdp_command_for_global
option item.