You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I want to use CotEditor to write a blog content in markdown.
Whenever I put images in the document, I always upload the images to Cloudinary and put the URL into the document.
I'll be really happy if your app automates this process.
Describe the solution you'd like
Specify an executable file upload-to-cloudinary (which is in my $PATH) on a new column "Command" on Preferences > File Drop.
Drag and Drop the image file image.jpg into CotEditor window.
CotEditor will execute a program. upload-to-cloudinary /full/path/to/image.jpg
Set the stdout of the program to a variable <<<OUTPUT>>>.
File Drop Definitions table will look like:
Extensions
Syntax Style
Command
Description
jpg, jpeg, gif, png
Markdown
upload-to-cloudinary
All
Markdown
jpg, jpeg, gif, png
HTML
upload-to-cloudinary
js
HTML
esbuild --minify
html, htm, php
HTML
All
CSS
...
...
...
...
Describe alternatives you've considered
The simplest solution I imagine is already described above.
It's better if you can specify how to call the executable file more precisely using environment variable, like upload-to-cloudinary $FILE_PATH | yet-another-command. It may extremely helpful when you want to execute complex string modification with sed and awk.
Additional context
Nothing more. I really like the UI of CotEditor. Keep going 💪
The text was updated successfully, but these errors were encountered:
I tried the latest branch of MarkText, which has almost the same api as I suggested, and found it really nice if you can pass secrets to the program. This is a feature they lack in MarkText.
Like this: upload-to-cloudinary ThIS-Is-mY_SEcrET_KeY0128dvwkef $FILE_PATH
I love the UI of the CotEditor over MarkText. WYSIWYG is not my preference. I want to see the uploading feature implemented!
Is your feature request related to a problem? Please describe.
I want to use CotEditor to write a blog content in markdown.
Whenever I put images in the document, I always upload the images to Cloudinary and put the URL into the document.
I'll be really happy if your app automates this process.
Describe the solution you'd like
upload-to-cloudinary
(which is in my$PATH
) on a new column "Command" on Preferences > File Drop.image.jpg
into CotEditor window.upload-to-cloudinary /full/path/to/image.jpg
<<<OUTPUT>>>
.File Drop Definitions table will look like:
Describe alternatives you've considered
The simplest solution I imagine is already described above.
It's better if you can specify how to call the executable file more precisely using environment variable, like
upload-to-cloudinary $FILE_PATH | yet-another-command
. It may extremely helpful when you want to execute complex string modification withsed
andawk
.Additional context
Nothing more. I really like the UI of CotEditor. Keep going 💪
The text was updated successfully, but these errors were encountered: