masasam / emacs-easy-hugo

Emacs major mode for managing hugo
https://gohugo.io/tools/editors/#emacs
GNU General Public License v3.0
362 stars 26 forks source link

insert image #23

Closed kandros closed 7 years ago

kandros commented 7 years ago

Hi, it would be really cool to have a command to insert a photo from a given local path or url

inspired form: https://github.com/yewton/hugo.el#hugo-put-image

masasam commented 7 years ago

Hi @kandros . It's definitely cool. I will implement it with a feeling appropriate for easy-hugo. Thanks for your comment.

masasam commented 7 years ago

Hi @kandros . Easy-hugo-image has Implemented so please use it. Best regards.

kandros commented 7 years ago

Thank you @masasam,img tag insertion from 'images' folder is indeed cool and will use that feature for sure, but what i linked is bit different.

This is the idea.

schermata 2017-08-13 alle 12 36 32

I think this could be actually very useful and give a good user experience and work well with what you just implemented

Thanks again for easy-hugo 🙏

masasam commented 7 years ago

@kandros that's cool ! I've understood your idea. It's nice flowchart. Thanks.

masasam commented 7 years ago

Hi @kandros . I has Implemented easy-hugo-pull-image and easy-hugo-put-image. I divided it into two functions considering ease of use. This is convenient as you say. Thank you for your idea.

kandros commented 7 years ago

This is going to be really usefull

Thank you!

Implemented in https://github.com/masasam/emacs-easy-hugo/commit/f5faebfa59538ab7ff891730574613439fe67fda