This module formats any markdown files with references to Apache Jira issues to be hyperlinks to the issue itself.
Supports
- individual markdown files relative to current working directory
- folders (will format all markdown files within)
- streams (v2)
- any Apache JIRA prefix; default is "CB"
- bracketed, nonbracketed, and colon'ed Apache JIRA issues
- i.e "[CB-1234]" and "CB-1234" and "CB-1234:"
Usage
Using Node Streams (v2)
var linkifier = ;var stream = ;var transformer = linkifier;var read = ;read{};// noopread;read;var write = ;var data = '';write { data += chunk; ;}write;readable;// prints out "[CB-123](https://issues.apache.org/jira/browser/CB-123) this is issue number 123"
Markdown File
var linkifier = ;linkifier;linkifier; //default callback does nothinglinkifier;linkifier; //default prefix is "CB"
Folder of Markdown Files (Beta Usage - not extensively tested yet)
var linkifier = ;linkifier; //default JIRA code prefix is "CB"linkifier; //default callback does nothinglinkifier;linkifier; //default prefix is "CB"