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
Copied!
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
Copied!
http.extTarget¶
http.wrap¶
http.ATagBeforeWrap¶
http.keep¶
-
http.
¶keep -
- Type
- list: "scheme","path","query"
As default the link-text will be the full domain-name of the link.
ExamplesWith the URL
https://
in our text we will get the following results:example. org/ test/ doc. php?id=3 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
Copied!
http.ATagParams¶
-
http.
¶ATag Params -
- Type
- tag-params / stdWrap
Additional parameters
Exampleshttp.ATagParams = class="board"
Copied!
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
Copied!
mailto.wrap¶
mailto.ATagBeforeWrap¶
mailto.ATagParams¶
-
mailto.
¶ATag Params -
- Type
- tag-params / stdWrap
Additional parameters
Examplesmailto.ATagParams = class="board"
Copied!