Settings

Theme

Pryrite: Interactively execute shell code blocks in a Markdown file

github.com

25 points by gojiberries · 12 comments

Reader

10 threads
pronoiac

For doing something similar in a browser, klipse supports over a dozen languages - https://github.com/viebel/klipse

lmc

Oh, this will be great for interactive environment setup. Getting started with some of our current projects is like summoning Cthulhu and I could see us using this to set up a guided process for it.

I can see the resemblance to Notebooks/RMarkdown, but integrating it into a terminal session is a neat idea. I've not had chance to try it (I'm on Windows) but it seems really cool.

Kab1r

org-babel has this down really well for org-mode markup you're into the Emacs ecosystem. I've been using it for a little over a year now for notes and documentation.

perrygeo

I don't get it. Any capable editor/IDE should be able to send markdown code blocks to a terminal pane, letting you work in the comfort of your standard dev environment. What's the point of a dedicated application just for this purpose?

khalidx

Similar, (plug) https://github.com/khalidx/runbook. Nice CLI with search, and supports many languages.

ilaksh

Also take a look at https://github.com/davidbrochart/nbterm

w10-1

If you're really old, you'll remember MPW - Macintosh Programmer's workshop.

Commands used the editing document for both input and output.

woleium

This is pretty cool, but I couldn't see if there was a way to interactively edit the line before executing

wdkrnls

RMarkdown (and now Quarto) has had this for half a decade now and emacs org-mode for two decades.

  • lmc

    TIL of Quarto... nice!

    I think Pryrite also has value - the terminal integration could be super useful for some tasks (especially for those of us that don't know emacs or its org mode)

prpl

Alternatively you could use a jupyter notebook with a bash kernel, yeah?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection