Pietro Peterlongo

Results 328 comments of Pietro Peterlongo

related also to #4: nbTest: to but code that might also be extracted for a test file. for example (see #5) I want to do a small utility package for...

**Edit** opened a specific issue (#34) for the following two: - nbFile to write to a file (with the possibility of executing the file) - nbShell to run commands from...

(alternative name: "nascondino", italian for Hide and seek)

yes, I think the simplest would be to implement it as a single block like: ```nim nbIdyll: #adds template for all the apis text "..." input button ... ``` and...

No, not working on it. The idea for me was to finish the PR on refactoring NbBlock and rendering, but I have had really little time last few months (hopefully...

realized now I never answered to this, sorry. Anyway, I agree behavior for nbFile should be to keep the file, we could at some point provide some more ergonomic system...

This looks like a use case I would definitely would want to support. As a possible api alternative to what you propose: ```nim script = nbNewCode: var myVar = 0...

> I think the need for being able to capture variables is even more important in this case I do not actually understand what this "capture variables" means in this...

currently possible adding after `nbCode`: ```nim nbBlock.output = "Output: " & nbBlock.output ``` If you need to use it more than occasionally, you can make your custom block (to be...

yes, it could be something nice to have. In the meantime I have some example of color printing in https://pietroppeter.github.io/nimib/ptest.html (look in the source for `spanColor`)