Lurker News

Comments (123) 33 threads

Earlier comments
whalesalad2 replies#
Fun to play with. Most surprising is the auto-indent when typing Clojure code.

The #1 missing feature is the ability to select a different typeface. #2 would be the ability to serve up an image from a URL like a pastebin or a-la speedtest.net speed test (https://www.speedtest.net/result/10946633415.png)

thomaspaulmann1 reply#
We wanted to keep the customisations simple that’s also why we have curated colors.
pindab0ter#
But why? I have very strong feelings about the look and feel of my code/coding environment and there’s no way I’m alone in this.

When creating a service that allows people to “show off” bits of their code, why stifle them in making it feel like it’s theirs?

thomaspaulmann1 reply#
The URL with a preview is on our radar. Gonna look into it when we have some spare time. This is a side project of our team that came out of a hackathon.
leppr#
The URL preview would be a killer feature for sharing on social networks.
kirktrue2 replies#
Looks great!

I know it should have been more obvious, but I didn't realize the text was editable. I was looking for an 'upload your code' button. Maybe put one of those "Try Me!" badges with an arrow pointing to the code like on toy boxes?

umvi1 reply#
It's par for the course with Apple-esque UIs. Like the classic "invisible scrollbar"[0] that prevents you from knowing you can scroll something down and see more. Form > Function

[0] https://svenkadak.com/blog/scrollbar-blindness

chrisseaton3 replies#
How can you make text look editable?
zardinality4 replies#
Blink the cursor at the end or highlight the text area sound reasonable to me

Continue this thread — 4 replies

umvi#
My point is that when you focus too much on beauty, you tend to sacrifice some functionality. There are tons of ways to signal that text is editable, but most of them are "ugly" or not elegant. To go to the opposite extreme, you could build a functionally equivalent website that is super basic and has no CSS - literally just a textarea to edit the code, checkboxes for the options, and buttons to generate the image. You get the same output, but it's not as pleasing to look at - but hey, it's highly functional and you know everything you are allowed to do at a glance.

The goal for most people is to strike a balance between form and function. In my opinion, I personally think you should always err on more function than form, but the Apple-esque UI design philosophy tends to favor form over function - you know, getting rid of "ugly" UI elements that traditionally telegraphed functionality.

jstanley#
Put it inside a textarea, and don't break the textarea styling.
thomaspaulmann#
Good feedback! We got a similar request for the title. Gonna look into how we can improve it
FunnyLookinHat2 replies#
Neat! This solves a problem for me with generating slides that include code snippets. I'm sure it helps with social media images and whatnot as well. It'd be great if you could also get a HTML snippet to embed into a site that would be a11y friendly!
thomaspaulmann#
a11y was mentioned a bunch of times and we’ll take a look into how do better support it.
davisdude#
This may not work for your case, but if you're good with Vim you could try the `:TOhtml` command, which converts a range into an HTML file matching the theme you're using.
WORMS_EAT_WORMS1 reply#
Love it! Congrats and cool project. I think you killed this and have something awesome in your portfolio for a long time.

My only suggestion is these code snippets are fire on Twitter for a lot of people getting their RT/likes/following on.
Specifically, that means maybe adding an option for forcing some sizes that are ideal for share graphics (width/height, auto font-size, auto centering, etc..). Take the guess work out of it. Good luck!

thomaspaulmann1 reply#
Great one! We want to add a share on Twitter function and then the sizes matter. For now we went with the simple approach but definitely up for improvements.

Load more comments