nature-of-code / noc-book-2-archive

Repository for The Nature of Code book with p5.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Better Way to Write the book mdx

maan2003 opened this issue · comments

I have been working on mdx based content it look a lot cleaner.
I have build a script that convert that converts html content to mdx.
and one that convert mdx to html at build time.

image
Do you wish to use it.

@43-stuti this is an interesting suggestion and related to our workflow discussions! Thank you @maan2003, we are considering moving the book source files to different formats!

Thank you @maan2003 for this wonderful suggestion! I've got a whole new system going in https://github.com/nature-of-code/book-website-2nd-edition. I am now writing the book in Notion. It's a great deal more complex than mdxjs and probably doesn't generalize as well, but it's working for me and pushing the project forward!