在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):instant-markdown/vim-instant-markdown开源软件地址(OpenSource Url):https://github.com/instant-markdown/vim-instant-markdown开源编程语言(OpenSource Language):Vim Script 100.0%开源软件介绍(OpenSource Introduction):vim-instant-markdownWant to instantly preview finicky markdown files, but don't want to leave your favourite editor, or have to do it in some crappy browser text area? vim-instant-markdown is your friend! When you open a markdown file in Vim, a browser window will open which shows the compiled markdown in real-time, and closes once you close the file in Vim. As a bonus, github-flavored-markdown is supported, and styles used while previewing are the same as those GitHub uses! InstallationQuick start (assuming you have all the necessary dependencies):
Detailed instructions
ConfigurationMinimal default configuration: filetype plugin on
"Uncomment to override defaults:
"let g:instant_markdown_slow = 1
"let g:instant_markdown_autostart = 0
"let g:instant_markdown_open_to_the_world = 1
"let g:instant_markdown_allow_unsafe_content = 1
"let g:instant_markdown_allow_external_content = 0
"let g:instant_markdown_mathjax = 1
"let g:instant_markdown_mermaid = 1
"let g:instant_markdown_logfile = '/tmp/instant_markdown.log'
"let g:instant_markdown_autoscroll = 0
"let g:instant_markdown_port = 8888
"let g:instant_markdown_python = 1 After installing the plugin, execute Supported PlatformsOSX, Linux^, and Windows^^. ^ One annoyance in Linux is that there's no way to reliably open a browser page in the background, so you'll likely have to manually refocus your Vim session every time you open a Markdown file. If you have ideas on how to address this I'd love to know! ^^ In Windows, there's no easy way to execute commands asynchronously
without popping up a cmd.exe window. Thus, if you run this plugin without
FAQ
If you're curious, the code for the mini-server component for this plugin can be found at http://github.com/instant-markdown/instant-markdown-d. A plugin can easily be written for any editor to interface with the server to get the same functionality found here. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论