Comments (8)
Are you using any of the optional flags? What browser are you using?
If you're able to manually open /tmp/vim-markdown-preview.html
, sounds like it might be an osascript issue with Google Chrome.
from vim-markdown-preview.
I haven't configured any of the options, so I'm expecting it to open with Safari (which is what the README says it should do).
from vim-markdown-preview.
By default, this plugin does what you manually ran: open -g /tmp/vim-markdown-preview.html
. What version of macvim are you using? What version of macOS are you using?
from vim-markdown-preview.
macOS 10.12.1, MacVIM 8.0 (116).
I've taken a look through the .vim
file and I can't really make heads of tails of what might've caused this issue (I'm just trying switching from Textmate to MacVIM at the moment), but I find it odd that there's no mention of Safari in this file.
from vim-markdown-preview.
By default, open
will use your default system browser. On macOS, this is Safari (unless otherwise changed). On the command-line, can you run through the following steps:
markdown README.md > /tmp/vim-markdown-preview.html
open -g /tmp/vim-markdown-preview.html
Does this work?
from vim-markdown-preview.
I confirm the issue for OS X 10.11.6, MacVim 8.0 (120).
As markdown
is not installed by default, I installed it via brew install markdown
to test your suggested steps with an empty markdown file. The second step opened the markdown preview file in Safari, but it was empty and did not refresh when writing stuff in the markdown file.
from vim-markdown-preview.
@Phosphor303 if markdown README.md > /tmp/vim-markdown-preview.html
renders an empty html file can you try using another markdown to html generator? You can also try using grip.
from vim-markdown-preview.
Closing this out for now, feel free to re-open if this is still an issue.
from vim-markdown-preview.
Related Issues (20)
- This plugin doesn't support arch HOT 2
- How do I set url?
- Support for Brave Browser HOT 3
- Doesn't work with remote files HOT 2
- Suggestion - Better syntax highlighting in ```code``` ```enhancement```
- executing job failed: Bad CPU type in executable - Mac M1
- html file created
- I get "Internal Server Error" when call Vim_Markdown_Preview() HOT 1
- Allow preview to be displayed in kiosk mode? HOT 2
- 'call Vim_Markdown_Preview()' can't open the chrome automatically HOT 5
- Opens a new tab on every buffer write on Firefox 60.0.1 HOT 7
- adding syntax highlightening?
- Markdown not matching with Github HOT 1
- Change the top title
- CSS 404 not found HOT 1
- Vim_Markdown_Preview_Local error HOT 1
- "Please install the necessary requirements: https://github.com/JamshedVesuna/vim-markdown-preview#requirements" HOT 1
- wrong error if attempting preview if the file is not saved
- How to Install Daring Fireball's Markdown.pl? HOT 2
- Can you make it more clear which `grip` you are referring to in the README
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-markdown-preview.