DEV Community

Ben Halpern
Ben Halpern Subscriber

Posted on

Better Ways to Talk About Code: Announcing Rich Embeddable Blocks

Top comments (21)

Collapse
 
philnash profile image
Phil Nash

This is cool! How are you pre-rendering the Twitter and GitHub embeds?

Collapse
 
ben profile image
Ben Halpern

It was basically a matter of simply modeling out these objects in our app and mimicking the CSS. The devil is in the details and we'll write a few posts on the implementation, but the process is pretty simple. There are some small tradeoffs for each of these, but so many benefits. Since the GitHub issues can be edited, one key is deciding how and how often to check for changes.

Collapse
 
philnash profile image
Phil Nash

I look forward to reading about the implementation!

Collapse
 
beld_pro profile image
Beld Pro

I was pretty impressed by the GitHub comment. You really nailed you πŸ‘ nice!

Collapse
 
pak_lebah profile image
Mr Bee

repl.it doesn't support Pascal language. The modern and powerful Pascal compiler is available at freepascal.org.

Collapse
 
beld_pro profile image
Beld Pro

Nice addition Ben! Can't wait for gists so the flow becomes similar to medium :))

Collapse
 
josegonz321 profile image
Jose Gonzalez

Sweet updates. I'm finding dev.to's editor to be far superior to anything I've tried (e.g. Ghost, Medium). It's very dev friendly.

Thank you for making it better!!

Collapse
 
ben profile image
Ben Halpern

Thanks! We still have more work to really make it as nice as we'd like, but I'm glad folks enjoy the dev-friendly approach.

Collapse
 
developius profile image
Finnian Anderson

Uhm... Ben, I think you broke it better. On My Machine, the syntax blocks are actually being turned into embeds. It was not doing this the last time I read this post.

Collapse
 
ben profile image
Ben Halpern

Eeep, thanks for the heads up!

Collapse
 
ben profile image
Ben Halpern

Fixed!

Collapse
 
developius profile image
Finnian Anderson

Nice, thanks!

Collapse
 
_bigblind profile image
Frederik πŸ‘¨β€πŸ’»βž‘οΈπŸŒ Creemers

I love the feature, but I just spent 15 minutes looking for this blog post, because I didn't see it documented anywhere. Or maybe I'm just bad at finding things :)

Collapse
 
rob__race profile image
Rob Race

πŸ‘πŸ»

Collapse
 
the_128keaton profile image
Keaton Burleson

This is really cool and has made me super excited about when you guys open source the site!

Collapse
 
rainteller profile image
rainteller

Awesome feature :))

Collapse
 
pavsaund profile image
Pavneet Singh Saund

Really nice! Looking forward to test it! πŸ˜πŸ‘πŸ½