Hugo Granström

Results 161 comments of Hugo Granström

Now that I think of it we really don't want to nest things in nbCode either way as the output of that block has to be placed somewhere and I'm...

We could even automate that process with a specific `nbNimibCode`: ```nim template nbNimibCode(body: untyped) = nbCode: template temp() {.gensym.} = body # Highjack the nbCode block: nb.blk.command = "nbNimibCode" temp()...

It took a while but most of the things are done now. The problem of interlaced code blocks I will leave for a later PR as I'm not sure how...

Haha yes :) That would be appreciated, the most important thing being if I named everything new sensibly

I think this was what we agreed on. Correct if I'm wrong :)

I will add this here as I think it fits under the general `nbHTML` context but perhaps not totally relevant for the karax dsl part. When implementing [nimib-reveal](https://github.com/HugoGranstrom/nimib-reveal/) I have...

Oh, that sounds nice! 🚀 I'm a bit scared of having to refactor everything though 🤣

That would be great! I re-read the description in the rendering issue and it sounds like it would satisfy my needs. Making reuse of other blocks' logic (`nbCode` and `nbText`...

I haven't tested it yet but it could perhaps work if we pass in the script variable to `nimToJsString` and use it as a key for a table containing the...

> to be honest this does not seem a big issue for me (but I understand optimistically half of what you say when you talk gensym, so maybe you are...