r3bl-open-core
r3bl-open-core copied to clipboard
[edi] implement runner concept for fenced code blocks
edi process
┌──────────────────────────────────────────────────┐
│ # Code block to run │
│ │
│ ```sh Press Alt + Enter in fenced │
│ echo (pwd)█ ◄───────── code block to run it │
│ ``` │ │
│ │ │
│ ┌──────────────────────────────▼─────────────┐ │
│ │ modal dialog box │ │
│ │ │ │
│ │ > echo (pwd) ◄──── Line to run │ │
│ │ │ │
│ │ /home/nazmul/ ◄──── Output of line │ │
│ │ ◄────┼──┼── Press Esc
│ │ │ │ to close the
│ │ │ │ runner dialog
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ ├────────────────────────────────────────────┤ │
│ │ > Type input to code runner here │ │
│ └────────────────────────────────────────────┘ │
│ │
└──────────────────────────────────────────────────┘