Skip to content

Commit ffb4bd9

Browse files
committed
notes from fifth day
1 parent a52dbe6 commit ffb4bd9

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

Diff for: sandbox/notes.md

+30-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,35 @@
1111
- json backend should always be defined
1212
- but stuff can be marked as to be skipped, e.g. the default theme should not be serialized
1313

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+
1443
## Notes from Fourth day - Match 1st
1544

1645
Some notes for me for later while I am on mobile related to NbRender type:
@@ -80,7 +109,7 @@ todo:
80109
- [x] nbImageToHtml
81110
- [x] nbTextToHtml
82111
- [x] nbDocToHtml
83-
- [ ] implement json backend
112+
- [x] implement json backend
84113
- later:
85114
- md backend
86115
- nbCode, nbSummaryDetails

0 commit comments

Comments
 (0)