Comments (6)
I don't know what you mean, If you want to paste an image in a web page, you can right click the image and select "copy image", and then you can use Ctrl+Alt+V to paste it into vscode.
from vscode-markdown-paste-image.
from vscode-markdown-paste-image.
// this form not working
![](${fileBasenameNoExtension}/2018-10-12-19-41-39.png)
The predefined variable ${fileBasenameNoExtension} do not woking in markdown file, but only working in vscode extension configure file. For example:
- Add pasteImage.path to your vscode workspace settings file like this:
- Use CTRL+ALT+V to paste an image to a markdown file(e.g. test-artical.md), you will see
![](test-artical/2018-10-12-19-41-39.png)
has been insert into markdown file for you.
from vscode-markdown-paste-image.
from vscode-markdown-paste-image.
from vscode-markdown-paste-image.
Also I know markdown not recommend use html notation in article, but if I don’t use, I can’t see the picture.
I also not recommend use html notation in markdown too. I will not ready to support the feature to pasting image to html format.
And I suggest use hash of image as file name , prevent duplicate image exist.
Thank you for your suggestion.
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.