Dave Pearson: blogmore.el v4.1

Wait 5 sec.

Following on from yesterday's experiment withwebp I got to thinking that it might behandy to add a wee command toblogmore.el that can quickly swapan image's extension from whatever it is to webp.So v4.1 hashappened. The new command is simple enough, calledblogmore-webpify-image-at-point; it just looks to see if there's aMarkdown image on the current line and, if there is, replaces the file'sextension with webp no matter what it was before.If/when I decide to convert all the png files in the blog to webp I'llobviously use something very batch-oriented, but for now I'm stillexperimenting, so going back and quickly changing the odd image here andthere is a nicely cautious approach.I have, of course, added the command to the transient menu that is broughtup by the blogmore command.One other small change in v4.1 is that a newly created post is saved rightaway. This doesn't make a huge difference, but it does mean I start out witha saved post that will be seen by BlogMorewhen generating the site.