-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with Ubuntu ... ? #36
Comments
@goessner It turns out that you must install dependency to make mdmath work. Please see this pull request and the related issue @sindresorhus Since the problem still exists, is it better to recover that line in readme.md? |
Clipboardy ships with precompiled binary for Linux - so you do not need ‘xsel’ installed. @goessner can you post full error message from clipboardy? |
Thanks for having solved this issue. How do you want me to post the full error message ... as a simple link ? |
We literally ship xsel inside npm package – https://github.com/sindresorhus/clipboardy/blob/master/fallbacks/linux/xsel
Something like this should do the trick: if (!cb) cb = require('clipboardy');
cb.write(clipTmpl(mdit.render(doc.getText())))
.then(()=>vscode.window.showInformationMessage('Html copied to clipboard!'),
(err)=>vscode.window.showInformationMessage(err.message)); |
.. it works now .. thanks |
When using clipboardy with
by code ...
... it says 'Html copying to clipboard failed!', whereas with all other operating systems it seems to work well. See ...
goessner/mdmath#44
goessner/mdmath#36
Is it simply so, that Ubuntu is not supported by
clipboardy
?thanks
The text was updated successfully, but these errors were encountered: