makelinks¶
makelinks
substitutes all appearances of web addresses or mail links
with a real link-tag. Web addresses and mail links must be contained in
the text in the following form:
https://example.org
mailto:name@example.org
Properties¶
http¶
Substitutes all external web addresses with a link tag so they are displayed as a link.
Can handle links of the form:
https://example.org
http://example.org
http.extTarget¶
- Property
http.extTarget
- Data type
- Description
The target of the link.
- Default
_top
http.ATagBeforeWrap¶
- Property
http.ATagBeforeWrap
- Data type
- Description
If set, the link is first wrapped with
http.wrap
and then the<a>
-tag.- Default
0
http.keep¶
- Property
http.keep
- Data type
list: "scheme","path","query"
- Description
As default the link-text will be the full domain-name of the link.
- Example
With the URL
https://example.org/test/doc.php?id=3
in our text we will get the following results:EXT:site_package/Configuration/TypoScript/setup.typoscript¶http.keep = "": # example.org http.keep = "scheme": # https://example.org http.keep = "scheme,path": # https://example.org/test/doc.php http.keep = "scheme,path,query": # https://example.org/test/doc.php?id=3
http.ATagParams¶
- Property
http.ATagParams
- Data type
- Description
Additional parameters
- Example
- EXT:site_package/Configuration/TypoScript/setup.typoscript¶
http.ATagParams = class="board"
mailto¶
Substitutes all appearances of mail addresses with a link tag. Mail addresses must be contained in the text in the following form:
mailto:name@example.org
mailto.ATagBeforeWrap¶
- Property
mailto.ATagBeforeWrap
- Data type
- Description
If set, the link is first wrapped with mailto
wrap
and then the<a>
-tag.- Default
0
mailto.ATagParams¶
- Property
mailto.ATagParams
- Data type
- Description
Additional parameters
- Example
- EXT:site_package/Configuration/TypoScript/setup.typoscript¶
mailto.ATagParams = class="board"