Adds support for late bound links to DocPad
A markup agnostic DocPad plug-in for smooth linking in large project documentations.
The plug-in hooks into DocPad's page generation process and replaces
ref: prefixes with relative references to the specified file.
At the same time it stores the references and validates them against existing files in a project.
Check out this section on the other page.Or try a broken link.
## my headingThis page may **safely** be linked to.
~: docpad generate...[docpad-plugin-links] processing documents[docpad-plugin-links] completed in 11708 ms[docpad-plugin-links] validating links...[docpad-plugin-links] dead links detected!> /index.html : /broken.html ( /broken.html )[docpad-plugin-links] link validation summary> total: 3> found: 2> ignored: 0> dead: 1Error: Found dead links (see log)...
The plugin may optionally fail if invalid document references are used or in-page links are defined twice.
npm install --save docpad-plugin-links
- Generate in-page heading links based on heading text and
<a href />and
<img src />to actual link targets
- Collect and report dead links
The plugin may be configured via a plugin configuration entry in the