Open glody opened 6 years ago
Thanks for the suggestion :)
I don't think GitHub Gist support images rendering, at least I don't see an interface for uploading images at this moment. (Of course, we can still hack it by copy&paste the binary chunk).
I would suggest sending this as a feature request to GitHub. Lepton might match it depending how this goes.
Hi!, first of all, you created a very nice software! I am searching for image support also and I found it closed issue. But Github Gist actually supports images both by commiting them or commenting a image and linking it via its URL. This way, it is totally possible to have image support at Lepton. Any reason to don't do that? See you. Thanks!
@thiagosouza
Sorry to reply late. Yes, gist supports image rendering in MD files and its Markdown-powered comments. But I don't find an option to upload an image in its online gist creation interface.
Do I miss something here?
Maybe my question is, how to put an image to the gist for testing?
@hackjutsu Use imgur api?
Insert markdown to editor
I'm also interested. Github does not provide an UI for image upload. But you can checkout the gist, add your image, push the changes, and GitHub will render the uploaded image, and it can even be linked in your markdown document.
It would be great if i can upload a screenshot of the code that i am creating a snippet for. It will be much easier to find and visualize the code when going back to it or when sharing it with others.
The more we know about your system and use case, the more easily and likely we can help.
Environment info
Command/Ctrl + ,
): v1.5.1-alpha-1Description of the problem / feature request / question:
essentially, gist is a repo, user can add any file to the repo. include image file, like .jpg ,png etc. Hope Lepton support image file, even upload image file
If possible, provide a sample gist or screenshot:
If possible, provide the log files
~/Library/Application Support/Lepton/logs
C:\Users\<username>\AppData\Roaming\Lepton\logs
~/.cached/Lepton/logs