Links added in some markdown as [Module](/Module) won't work in the final documentation because they will point to https://package.elm-lang.org/Module instead of https://package.elm-lang.org/packages/author/package/Module but they will work in the preview as the module is the only path segment there.
The correct way to link to another module that will work in both the final documentation and the preview is to use:
Links added in some markdown as
[Module](/Module)
won't work in the final documentation because they will point tohttps://package.elm-lang.org/Module
instead ofhttps://package.elm-lang.org/packages/author/package/Module
but they will work in the preview as the module is the only path segment there.The correct way to link to another module that will work in both the final documentation and the preview is to use:
[Module](Module)
[Module](./Module)
to avoidelm-format
bug https://github.com/avh4/elm-format/issues/339#issuecomment-426653906[Module.function](Module#function)
[Module.SubModule.function](Module-SubModule#function
)A warning should be added when clicking such broken links in the preview to allow the editor to fix them.