mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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) => {
|
||||
return `<a href="${linkUrl}">${linkName}</a>`;
|
||||
});
|
||||
text = text.replace(/\[(.*?)\]/g, (match, link) => `<see cref="${link}" />`);
|
||||
const words = text.split(' ');
|
||||
let line = '';
|
||||
for (let i = 0; i < words.length; i++) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user