Embedding Interactive Models in Hackage Docs

It was recently pointed out to me that their is nothing stopping you from making arbitrary changes to Haddock documentation before uploading it to Hackage.

Long story short, the documentation for my Haskell CAD framework, Waterfall-CAD, now contains embedded 3d models generated from the example code.

Thanks to @Kleidukos: without their prior art on text-display, I wouldn’t have realized this was possible.

22 Likes