Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions apps/api-documenter/src/documenters/OfficeYamlDocumenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,10 @@ export class OfficeYamlDocumenter extends YamlDocumenter {
//
// Hyperlink it like this:
// \[ [API set: ExcelApi 1.1](http://bing.com?type=excel) \]
markup = markup.replace(/Api/, 'API');
return markup.replace(/\\\[(API set:[^\]]+)\\\]/, '\\[ [$1](' + this._getApiSetUrl(uid) + ') \\]');
return markup.replace(
/\\\[[Aa][Pp][Ii] set:([^\]]+)\\\]/,
'\\[ [API set:$1](' + this._getApiSetUrl(uid) + ') \\]'
);
}

// Gets the link to the API set based on product context. Seeks a case-insensitive match in the hash set.
Expand Down
Loading