This repository was archived by the owner on Feb 6, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,18 @@ close preview window:
6565 nmap <silent> <F9> <Plug>StopMarkdownPreview " for normal mode
6666 imap <silent> <F9> <Plug>StopMarkdownPreview " for insert mode
6767
68+ FAQ:
69+
70+ Q: the firefox preview window didn't close when leave the markdown file in vim
71+
72+ A: if you want the plugin auto close the preview window on firefox, you have to do some config:
73+
74+ 1. open firefox
75+ 2. type `about:config` in the address bar and press Enter key
76+ 3. search `dom.allow_scripts_to_close_windows` item and set the value to `true`
77+
78+ > you have to know what will happend when you do the config above
79+
6880================================================================================
6981
7082说明 *mkdp-introduction-zh*
@@ -122,3 +134,15 @@ close preview window:
122134 imap <silent> <F8> <Plug>MarkdownPreview " 插入模式
123135 nmap <silent> <F9> <Plug>StopMarkdownPreview " 普通模式
124136 imap <silent> <F9> <Plug>StopMarkdownPreview " 插入模式
137+
138+ FAQ:
139+
140+ Q: 在火狐浏览器中,预览页面不能自动关闭
141+
142+ A: 如果需要在火狐浏览器中启用自动关闭预览窗口,需要相关设置:
143+
144+ 1. 打开火狐浏览器
145+ 2. 地址栏敲入 `about:config` 然后回车
146+ 3. 搜索 `dom.allow_scripts_to_close_windows` 选项,并设置 value 为 `true`
147+
148+ > 如果你打算设置上面的配置,你应该知道该配置会产生什么影响
You can’t perform that action at this time.
0 commit comments