Skip to content

Comment on Pictures of kittens for use as placeholders in your designs or codeparent

Comments

Brilliant!! This was actually what I was expecting.

But it makes me think - are there any code editors that you can literally just drag pictures in, or put in urls and it replaces them with pictures? I could be stuck in some IDE ghetto and not even know about these things.

You can probably do that with Emacs ;-)

(insert-image (create-image "/path/to/image/file")) inserts an image into a buffer.

But I'm not sure one would want to actually use that while editing; emacs is not very good about flowing text around the displayed image.

the code to do it starts with (

It shouldbe a minor mode that renders images instead of image-like URLs. Not that impossible to do. It's a bit beyond my magical powers, but I am sure it also ends with a ")"

auctex does the rendering-inside-text part, but I don't know of one that does it for html img tags

can't be hard

There's aview (ASCII-art image viewer which uses libaa); aview can render Ascii pictures to stdout.

aview solves a different problem

You can paste images into Dr.Racket.

Looks interesting... supports languages called Racket and Swindle...?!

obligatory:

http://wikifaqs.net/index.php/Admiral_Ackbar

You can also have it generate huge text with semicolons.

http://i54.tinypic.com/20ssqk7.png

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.