DEV Community

Ben Halpern
Ben Halpern

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! πŸ˜πŸ‘πŸ½

Collapse
 
yelluw profile image
Pablo Rivera

This is super awesome. Thanks for the updates. ☺

Collapse
 
ben profile image
Ben Halpern

Thanks! We will build more embeds and build more on these concepts. People will use these tools however they like, but the thing I really really wanted to enable specifically with the GitHub tags is telling the story of a decision that was made on GitHub. It's often hard to wade through an issue searching for the narrative of what went on. If it's easy to embed the comments with a narrative interspersed between, I think some of the discussions will be a lot more approachable after the fact.

Collapse
 
tiffany profile image
tiff

I prefer writing here over Medium, for sure, and you guys have just upped your game. Love it, Ben. Great addition. πŸ‘πŸ½πŸ‘πŸ½

Collapse
 
ben profile image
Ben Halpern

Heck yes! Thanks for sticking with us while we've figured this out and worked out the kinks! I'm sure there are/will be many more kinks to be worked out.