-
Notifications
You must be signed in to change notification settings - Fork 61
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
Use clipboardy #17
Use clipboardy #17
Conversation
Can you add this line under your pull requests? It solve this problem. for more information microsoft/vscode#26502 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add this code on the top of extension.js file will solve this problem.
process.env["LC_CTYPE"] = process.env.LC_CTYPE || "UTF-8";
We will add it in sindresorhus/clipboardy#15 (comment) - looks like it should be there. |
@TonySFU this is fixed in |
package.json
Outdated
@@ -117,7 +117,7 @@ | |||
}, | |||
"dependencies": { | |||
"argparse": "^1.0.9", | |||
"copy-paste": "^1.3.0", | |||
"clipboardy": "^1.1.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bump it to 1.1.2, just to make sure it's never deduped to a lower version.
Closes goessner#13
Thanks a lot for your help. I reused your modifications with some other bug fixes directly in the source. |
Did you test on windows platform? Clip function seems not working on newest version mdmath. |
That's weird, the Clip Markdown+Math to HTML function not return any result on my windows 10 pc. Works great on the macbook. |
Hmm ... I did test it on windows 10 .. it worked. Now I have tested it again .. and even included your snippet 一级标题
二级标题三级标题this also works (copying from clipboard to html document). I will now delete my mdmath extension and reinstall it again from marketplace. ... which works as before ... hmm. |
I obviously forgot some entries in the (flat) Hopefully this was it ?! (1.2.9) |
I found this problem only happen when markdown file is large. |
@sindresorhus, @TonySFU: Isn't new copy-text-to-clipboard a better alternative to |
it related on clipboardy, and this one just work in browsers. For now it works great on macOS. When markdown file is large, clipboardy will hit limit on arguments length in Windows. @floatdrop try to fix it #19 |
Closes #13