Embed working React components within markdown. yayayayayayayayayaya!
So this is a small library of utility methods that I use within my storybook addon. This is where the majority of the work to convert the Markdown strings into Hyperscript.
It's much easier to understand code if the namespace just tells you what you're doing. Taking some ideas from the
Chai DSL I've created one similar. The chaning here is superficial (ie: the
.to is not a method).
This is just a large object so you could destructure and you can access methods directly if you prefer not to have to follow the full path. More on that later.