I’ve been there too, I once was tinkering with markdown parsing when I built this small library (link below) and it turned out that the live demo I made of using it could be seen as a somewhat static site generator from markdown files
I also felt kinda silly initially but now I want to revisit it as it was kinda fun too (and also try building a dependency free one from scratch like yours)
That’s awesome!!! 👏
I’ve been there too, I once was tinkering with markdown parsing when I built this small library (link below) and it turned out that the live demo I made of using it could be seen as a somewhat static site generator from markdown files
I also felt kinda silly initially but now I want to revisit it as it was kinda fun too (and also try building a dependency free one from scratch like yours)
this-fifo / use-marked-hook
A react hook for parsing markdown with marked and sanitize-html
useMarked() hook
Live Demo
The app located at
/example
demonstrates how it could be used, see the live result at this-fifo.github.io/use-marked-hook/Install
Usage
License
MIT © Filipe Herculano
Neat!