- Source
Methods
(inner) confluenceLinkClose() → {string}
Closing markup for confluence link
- Source
Returns:
Html markup
- Type:
- string
(inner) confluenceLinkOpen(title) → {string}
Opening markup for confluence link
Parameters:
Name | Type | Description |
---|---|---|
title | string | Page title |
- Source
Returns:
Html markup
- Type:
- string
(inner) isLocal(href) → {string}
Parameters:
Name | Type | Description |
---|---|---|
href | string | The |
- Source
Returns:
true
if the href
does not start with http
- Type:
- string
(inner) localPage(tokens, idx, param2, md) → {string|undefined}
Lookup the title of the page the link token refers by path
Parameters:
Name | Type | Description |
---|---|---|
tokens | Array.<Token> | Array of parsed tokens |
idx | number | Current token index |
param2 | object | Parser env object |
md | MarkdownIt | A |
- Source
Returns:
The title of the page if exists in pageRefs
- Type:
- string |
undefined
(inner) plugin(md)
MarkdownIt plugin to handle links
Parameters:
Name | Type | Description |
---|---|---|
md | MarkdownIt | A |
- Source