Comments (16)
Mac would be great @telesoho
from vscode-markdown-paste-image.
Thank you for your suggestion, I will try to implement it.
from vscode-markdown-paste-image.
from vscode-markdown-paste-image.
I see you've implemented the feature, but it doesn't work for me. I'm on a pixelbook. Would that make a difference? Thanks.
from vscode-markdown-paste-image.
BTW, I've installed xclip.
from vscode-markdown-paste-image.
@dgk4201
Could you select "Help\Toggle Developer Tools" to show javascript console panel, then use Ctrl+Alt+V to paste some rich text into a markdown, and send the console log to me?
from vscode-markdown-paste-image.
from vscode-markdown-paste-image.
@dgk4201
I think xclip work fine on your pixelbook. Maybe you copied content be not supported in this version.
This version of the extension does support "image/png","text/html" and "text/plain" only.
I want to know what content type of you copied. Could you please send me the output of teminal after
copying some rich content and runing the following command on your pixelbox terminal.
source ~/.vscode/extensions/telesoho.vscode-markdown-paste-image-0.11.0/res/linux_clipboard_content_type.sh
from vscode-markdown-paste-image.
from vscode-markdown-paste-image.
@dgk4201
I'm so surprised while copy text from application on different linux will get different target type.
I use ubuntu, I always get 'text/plain' content type while copy any text, so I use 'text/plain' to get clipboard text. It's the reason the extension doesn't work on your pixelbook.
I have to fix this issue first.
Thank you for your help.
from vscode-markdown-paste-image.
@dgk4201
I want to know the clipboard content type on your pixelbook,
Could you help me to sent clipboard content target types of browser and powerpoint on your pixelbook to me?
You can use the following command to get clipboard content target types:
xclip -selection clipboard -o -t TARGETS
For example:
I copy some text from web browser Chrome, will get the following output by the command.
TIMESTAMP TARGETS SAVE_TARGETS MULTIPLE STRING UTF8_STRING TEXT text/html text/plain
When I copy some text from LibreOffice Impress, will get the following output by the command.
text/plain;charset=utf-8 text/plain;charset=UTF-8 UTF-8 UTF8_STRING COMPOUND_TEXT STRING application/x-openoffice-editengine;windows_formatname="EditEngineFormat" text/richtext MULTIPLE
from vscode-markdown-paste-image.
from vscode-markdown-paste-image.
from vscode-markdown-paste-image.
@dgk4201
Paste rich text feature not supported by this version, Maybe I need to buy an Mac first. 😅
from vscode-markdown-paste-image.
Please add the feature for Windows (desc. says it work for Linux)
from vscode-markdown-paste-image.
@telesoho This appears to be implemented and can be closed
from vscode-markdown-paste-image.
Related Issues (20)
- Default name to be YYYY-MM-DD_HH-mm-ss_<selected text> HOT 2
- Use in VSCode for the Web
- Add option for default alt text HOT 1
- Add ability to upload to `user-images.githubusercontent.com` similar to how GitHub does in READMEs and comments
- Mac OS Ventura: Command not found HOT 3
- Linux: Wayland support
- Paste cannot work HOT 3
- Not work in WSL mode, showing "Clipboard Type Unknown" HOT 3
- Add an option for set the name of the image HOT 1
- FYI, VS Code built in markdown extension is good enough HOT 1
- How to customize the way HTML is converted to Markdown? HOT 2
- Variable expansion in rules and Lang-rules HOT 2
- 多出来的 ** HOT 4
- The drive letter of Windows paste path should be in uppercase HOT 1
- Can't work in vscode-insider HOT 1
- Add SECURITY.md HOT 2
- Not working in Code on Debain or Ubuntu but works in Code on Windows 11 HOT 3
- Allow execution of extension in .Rmd files
- No support for image paste inside GitHub issues?
- Why there are spaces after the pasted image?
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 vscode-markdown-paste-image.