It can preview README.md and docs.json files (one of them or both of them simultaneously).
If you loaded both files, you can then update one of them without losing the other.
It is not yet perfect but hopefully it can already be useful. Feedback is welcome (here or in a github repository issue).
Notes:
0.18 packages are not supported.
It is only an online service for now but I think that it would not be too hard to make it run locally, so if this is really important for you, tell me why and I will consider it (PRs are also welcome).
Why a cat? Because they see better than us in the dark.
elm-doc-preview has moved to Netlify (mainly because Github Pages SPA routing is a hack, even more without a custom domain). This is the first time I test Netlify and for now I am impressed.
The previous URL is redirected so bookmarks/links should not break.
2. Previews should now be 100% identical to final documentation
After some thought, I now use the original viewer code from package.elm-lang.org, so the preview should be exactly identical to the official documentation.
Also the same URL scheme as package.elm-lang.org is now used, so links to types and functions are now supported.
3. Previews are now stored in local storage to support inter-modules markdown links
Previews are now stored in local storage (only the last README.md and docs.json loaded) to work around a limitation of elm-explorations/markdown that lead to page reloads when links inside markdown are clicked.
Consequently there is now a “Close Preview” link to close the preview and clear the local storage.
4. Drag & Drop
You can now drop README.md and docs.json files anywhere in the page at any time.
This is really useful and makes checking complex documentation much easier. I like the fact that it renders images as they appear on the official doc pages. Previously the Elm 0.18 doc preview would handle images larger than the 600px column width differently to the final version on the official published doc. This was the cause of too many patch releases for me until the published rendering worked as expected.
Thanks so much for putting in the time to do this.