jsdoc2md / dmd

The default output template for jsdoc2md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

{@link <namepath} will break if "{@link" is at line ending

BITespresso opened this issue · comments

This example

// Link is generated

    /**
     * Calculates a suggestion for the region which can be used as input for
     * {@link cascadeOverlapAllWindows}. The suggested region is printed to the console and returned
     * by this method.
     */

works as expected, while the following will not generate a link, but put literally {@link cascadeOverlapAllWindows} in the output.

// No link generated

    /**
     * Calculates a suggestion for the region which can be used as input for {@link
     * cascadeOverlapAllWindows}. The suggested region is printed to the console and returned by
     * this method.
     */

In JSDoc both will generate a correct result.

merged and released in dmd v5.0.0, thanks

also released in dmd v4.0.6 so users of the current version of jsdoc2md will pick up the change.