Jekyll
Ref
https://aymanbagabas.com/blog/2022/03/29/import-notion-pages-to-jekyll.html
https://github.com/echo724/notion2jekyll
Solution
- ~~Exporting into HTML seems better~~
- ~~No need jekyll at all…~~
- ~~But cannot control anything, e.g. style, common header…etc, nothing~~
- Exporting manually to md & script to fix links problem
- Need to do manually
- Make script to search links and replace
- Easy way:
- Get all md file names,
- Search in all md for these file names, replace as decoded string (e.g. %20 → space)
- ~~use custom plugin like this https://github.com/benbalter/jekyll-relative-links/blob/main/lib/jekyll-relative-links/generator.rb~~
- Easy way:
- ~~Exporting via API programmatically~~
- ~~Official API cannot do export~~
- ~~can try this~~
Next task
- [x] Try to use this theme instead, it looks like real tech doc, e.g. iceVision
- https://github.com/squidfunk/mkdocs-material
- [ ] Solve the unique string filename problem
- [ ] Simplify export & unzip & moving files step, by using maybe https://github.com/yannbolliger/notion-exporter/blob/master/src/NotionExporter.ts
- [x] Beautify theme, nav bar…etc
- List - https://jamstackthemes.dev/#ssg=jekyll
- Company feel - https://jamstackthemes.dev/demo/theme/jekyll-serif/
- Left pic side bar
- Tailwind - https://github.com/zerostaticthemes/jekyll-atlantic-theme
- Dark minimalist - https://pages-themes.github.io/midnight/
- [x] Breadcrum
- [ ] Use the floating outline from post layout
- Make it on the right side
- Note list
- [ ] Each md to be 1 white block, instead of merging all together
- [ ] Complete self intro
- [ ] Code styling by languages
- [ ] Resume (by jekyll resume theme or just pdf ?
- [ ] Check how to write blog on notion → import to jekyll easily (with date)