chore(xmldocs): resolve MD links to XmlDocs tags (#5782)
This commit is contained in:
parent
9560da75f3
commit
42e9a4703c
|
|
@ -122,6 +122,7 @@ function _wrapAndEscape(node, maxColumns = 0) {
|
||||||
text = text.replace(/\[(.*?)\]\((.*?\))/g, (match, linkName, linkUrl) => {
|
text = text.replace(/\[(.*?)\]\((.*?\))/g, (match, linkName, linkUrl) => {
|
||||||
return `<a href="${linkUrl}">${linkName}</a>`;
|
return `<a href="${linkUrl}">${linkName}</a>`;
|
||||||
});
|
});
|
||||||
|
text = text.replace(/\[(.*?)\]/g, (match, link) => `<see cref="${link}" />`);
|
||||||
const words = text.split(' ');
|
const words = text.split(' ');
|
||||||
let line = '';
|
let line = '';
|
||||||
for (let i = 0; i < words.length; i++) {
|
for (let i = 0; i < words.length; i++) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue