r3bl-open-core icon indicating copy to clipboard operation
r3bl-open-core copied to clipboard

[edi] implement runner concept for fenced code blocks

Open nazmulidris opened this issue 7 months ago • 0 comments

 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           │  │                
│  └────────────────────────────────────────────┘  │                
│                                                  │                
└──────────────────────────────────────────────────┘                

nazmulidris avatar Jul 24 '24 15:07 nazmulidris