There was an error while loading. Please reload this page.
1 parent 577a803 commit ab28676Copy full SHA for ab28676
docs/links-package/inline-tag-defs/link.js
@@ -1,5 +1,16 @@
1
var INLINE_LINK = /(\S+)(?:\s+([\s\S]+))?/;
2
3
+/**
4
+ * @dgService linkInlineTagDef
5
+ * @description
6
+ * Process inline link tags (of the form {@link some/uri Some Title}), replacing them with HTML anchors
7
+ * @kind function
8
+ * @param {Object} url The url to match
9
+ * @param {Function} docs error message
10
+ * @return {String} The html link information
11
+ *
12
+ * @property {boolean} relativeLinks Whether we expect the links to be relative to the originating doc
13
+ */
14
module.exports = function linkInlineTagDef(getLinkInfo, createDocMessage) {
15
return {
16
name: 'link',
0 commit comments