Comments (16)
Great to see people using neovim! Can you give me a few more details?
- What operating system are you using?
- What happens if you directly call the preview function? (i.e.
:call Vim_Markdown_Preview()
) - Are you using any other flags/options with this plugin?
- What are you using to compile your markdown to html?
markdown
,grip
, other?
Thanks
from vim-markdown-preview.
- OSX 10.10.5 with Google Chrome
- Same thing happens. Blank page.
- No other flags or options right now.
- Do I need to do this? I assumed this plugin would generate that html for me, and open it in a browser. I am not currently compiling markdown to html for anything else.
from vim-markdown-preview.
Just noticed - the BundleInstall I performed added the vim-markdown-preview
folder to ~/.vim/bundle
rather than ~/.nvim/bundle
. That would probably be related. I copied the folder over, but still no luck. I'll dig into it a bit.
from vim-markdown-preview.
Check out the OS X Requirements. You'll need to install either markdown from homebrew (or something similar) or python grip if you want GitHub flavored markdown. These modules actually render the html, vim-markdown-preview makes this easy to do in vim.
I should probably add this to the installation section for clarity. Let me know if you have any questions about this.
from vim-markdown-preview.
It appears that a path that includes spaces causes this to break.
Haven't looked into how, but:
/Users/Jay/Google Drive/Docs/doc.md
causes this plugin to break but a document at
/Users/jay/doc.md
works just fine.
from vim-markdown-preview.
Good catch! I've created a new bug: #19.
from vim-markdown-preview.
@jaypozo can you pull from master and see if your problem persists? c1a6db1 should fix your path space issue.
from vim-markdown-preview.
It does not fix it 😞
from vim-markdown-preview.
In bash shell, in OSX, your solution would probably work. I am using zsh, which escapes spaces with \
.
In bash:
/Users/jay/Google Drive
In zsh:
/Users/jay/Google\ Drive/
from vim-markdown-preview.
Updated issue to reflect zsh.
from vim-markdown-preview.
Escaping the file path with double quotes on zsh in OS X seems to work fine for me. Can you try running the following manually and post the error back here?
markdown "/Users/jay/Google Drive" > /tmp/test.html
from vim-markdown-preview.
This is the error I get:
Use of uninitialized value $text in substitution (s///) at /usr/local/bin/markdown line 245.
Use of uninitialized value $text in substitution (s///) at /usr/local/bin/markdown line 246.
from vim-markdown-preview.
Sorry, you are totally right, this worked, in zsh:
markdown "/Users/jay/Google Drive/Docs/spec.md"
I assumed the zsh tab complete for dir listing was the same as what it was using for path naming.
from vim-markdown-preview.
Updated homebrew, uninstalled, reinstalled markdown. It is working now.
Thanks for the help 😁
from vim-markdown-preview.
Hello! I'm sorry, but, please
can you resend me my last reply
to you?
Thanks!
2015-09-08 10:33 GMT+03:00 Jamshed Vesuna [email protected]:
—
Reply to this email directly or view it on GitHub
#18 (comment)
.
from vim-markdown-preview.
Hi @oshybystyi, are you referring to #11? If so, that change has already been merged into the main branch.
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.