|
11 | 11 | - json backend should always be defined
|
12 | 12 | - but stuff can be marked as to be skipped, e.g. the default theme should not be serialized
|
13 | 13 |
|
| 14 | +## Fifth day - Martch 2nd |
| 15 | + |
| 16 | +what could I work on: |
| 17 | +- on theme |
| 18 | + - use the minimal theme |
| 19 | + - use a theme field that is skipped dring json generation |
| 20 | +- on container blocks |
| 21 | + - implement summary details |
| 22 | + - implement a flexbox container! |
| 23 | + - that and a generic styled span container could allow me to easily create a grid... |
| 24 | +- for later |
| 25 | + - md backend (and revision of backends) |
| 26 | + - nbCode |
| 27 | + - nbJs stuff |
| 28 | + |
| 29 | +more thoughts: |
| 30 | +- can I also use a super method or something to wrap the rendered block in a NbBlock? |
| 31 | + - for example it could be used to add a class name inside a div |
| 32 | + - this could be important for example to customize code block appearance |
| 33 | + - or to add an optional id to a block |
| 34 | + - (this could anyway be added later) |
| 35 | + - and it could be added as something that by default a block does during rendering |
| 36 | + - it might have a different signature (takes rendering of content and outputs new rendering) |
| 37 | +- restriction/variation of render method should be done towards the end, |
| 38 | + so that I know what multiple blocks should be able to |
| 39 | +- instead of passing Nb object to render method I could pass a pointer to the current render backend |
| 40 | + - one could use this to do fun stuff, for example have a container block that chnages the rendering engine, I could show the output of json backend inside a html backend as raw json and so on |
| 41 | + - oooh coool! |
| 42 | + |
14 | 43 | ## Notes from Fourth day - Match 1st
|
15 | 44 |
|
16 | 45 | Some notes for me for later while I am on mobile related to NbRender type:
|
|
80 | 109 | - [x] nbImageToHtml
|
81 | 110 | - [x] nbTextToHtml
|
82 | 111 | - [x] nbDocToHtml
|
83 |
| -- [ ] implement json backend |
| 112 | +- [x] implement json backend |
84 | 113 | - later:
|
85 | 114 | - md backend
|
86 | 115 | - nbCode, nbSummaryDetails
|
|
0 commit comments