markdown-it-ado-links
v1.1.0
Published
Generates links from ADO work item titles
Downloads
1
Readme
markdown-ado-links
Plugin to generate links to Azure Dev Ops for titles pasted from ADO.
Usage
import adoLinks from './index.js';
import markdownIt from 'markdown-it';
const md = markdownIt().use(
adoLinks,
{
organization: "my-org",
project: "my-project",
workItemTypes: ['Bug', 'Product Backlog Item']
}
);
md.render('Bug 123: a bug title');
Configuration Options
organization
: (required) the organization name for ADOproject
: (required) the project name for ADOworkItemTypes
: (required) display name of work item names, used to find reference titles in markdown
HTML
The output of the above example is:
<p>Bug <a
href="https://dev.azure.com/my-org/my-project/_workitems/edit/42"
title="a bug title">42</a>: a bug title</p>