DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป

DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป is a community of 966,904 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Burdette Lamar
Burdette Lamar

Posted on

Name, Please?

Recently I posted an article whose examples are done with the Ruby Interactive Shell, irb.

It was annoyingly tedious to copy and paste snippets from the irb window into the post editor.

So I decided to automate. (Shocker!).

I'm building a program that will:

  • Read markdown that contains snippets intended for irb.
  • Run each such snippet through irb, capturing the session.
  • Replace the original snippet with that output.
  • Mark the changed passage as a Ruby code block.

Question is, what to call it?

  • Started out thinking irb2md, but though the output is markdown, the input is not just simple irb.
  • Now it's irb_filter, but that doesn't tell an accurate story either.
  • Leaning toward irb_in_md, but not happy about it.

Suggestions?

Top comments (1)

Collapse
 
jrtibbetts profile image
Jason R Tibbetts • Edited on

DEV has this feature:

Settings

Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. ๐Ÿ›