Pietro Peterlongo
Pietro Peterlongo
currently code output in html is marked semantically as a `` element and the styling is left to `water.css` which does a very minimal work so that output is somewhat...
trying to list possible new apis that might be useful. Will need to decide if I want to really do them and write example that actually use them before implementing....
in a site like adventofnim any change to the html template require to rerun all individual documents to be applied. one possible solution is to introduce a `nbSaveBlocks` api that...
- [ ] yml frontmatter - [ ] easy publishing to dev.to - [ ] a basic blogging theme - [ ] publish date, update, categories, author - [ ]...
all blocks should have timing of execution done by default, with the possibility of showing the execution time of the block in the final html. also probably a init and...
I think by default runtime errors happening in a nbCode block should be captured and visualized (with the possibility to override this behaviour).
* `nbInit` should initialize a nbSharedContextobject reading from a `nimib.json` (first name that comes to mind) file in project directory. * when `nbSave` is run this nbSharedContext object is updated...
Example: ```nim nbCode: 3 # should be equivalent to nbCode: echo 3 # and also this should print out the same number: nbCode: let one = 1 one + 2...
not in a hurry to do that, but it makes sense to do it sometime in the future: https://github.com/nim-lang/fusion/blob/master/src/fusion/ioutils.nim
at one point I might want to implement sidenotes and this beatiful resource might come in handy: https://www.gwern.net/Sidenotes