dendronhq / dendron-paste-image Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
dendron.dendron-paste-image
is an official extension, currently associated with mushanshitiancai/vscode-paste-image
, which is no longer maintained.
dendron.dendron-paste-image
says it was last updated "8/18/2022", which is when this repo was last updated, so clearly this repo is the real power behind the throne. Is it possible to update dendron.dendron-paste-image
to point to this repo?
This will reduce confusion, both when new users are evaluating extensions, and when users of this extension wish to report issues.
If the Windows Powershell is set to "ConstrainedLanguage" mode and/or the execution of Powershell scripts is prohibited by the administrator the Dendron: Paste Image
command does not work.
I tried to manually save an image from my system clipboard to the hard drive with Powershell with
$img = Get-Clipboard -Format Image
$img.Save(".\img.jpg")
Essentially, this is what this extension does. When I do this I get the following error:
Cannot invoke method. Method invocation is supported only on core types in this language mode.
[...]
Unfortunately I wasn't able to get the error message from VSCode.
I suspect that even the execution of the .ps1
script file will be blocked by the systems administrator.
According to mushanshitiancai/vscode-paste-image#105
This repository has not seen any activity in over 3 years. There is an actively maintained fork here: https://github.com/telesoho/vscode-markdown-paste-image
This extension may benefit from syncing updates from this repository, and/or pushing our updates to the community maintained fork (such as the wl-paste
/ Linux Wayland support).
Would it be possible to make Dendron Paste Image online work on http://vscode.dev/
It is available under extensions on http://vscode.dev/, but it does not work. On gets the message: "Paste Image is currently not supported in VSCode for the Web".
At the moment I can get the extension to save the screenshot as either the date.png or the .png. I would be able to have the name YYYY-MM-DD_HH-mm-ss_.png as it would be easier to find the files in the file system this way.
In my head it would be a option to append date (in the format under the settings) to the selected text, if any.
When pasting images, the dendron-paste-image extension places the image in "notes/" directory. However, these need to be placed in "notes/assets/" in order for them to publish correctly. Though the images appear correctly in the VSCodium/VSCode dendron preview pane, when published, the images are broken, presumably because they're not placed in the "notes/assets/" directory.
(Assuming you have Dendron and the Dendron Paste Image extension installed:)
notes/
directory.(Assuming you have the dendron-cli installed)
5. At the command line, in the worspace directory initialize for publishing: npx dendron publish init
6. preview the site: npx dendron publish dev
7. View it in a browser at "localhost:3000"
8. View the site. In my case, the images are broken. The links refer to "/image.png", but no images appear.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.