description:"Link URLs will open in a new window/tab."
description:"Link URLs will open in new window/tab"
},
},
%{
%{
key::truncate,
key::truncate,
type:[:integer,false],
type:[:integer,false],
description:
description:
"Set to a number to truncate URLs longer than the number. Truncated URLs will end in `...`",
"Set to a number to truncate URLs longer then the number. Truncated URLs will end in `..`",
suggestions:[15,false]
suggestions:[15,false]
},
},
%{
%{
key::strip_prefix,
key::strip_prefix,
type::boolean,
type::boolean,
description:"Strip the scheme prefix."
description:"Strip the scheme prefix"
},
},
%{
%{
key::extra,
key::extra,
type::boolean,
type::boolean,
description:"Link URLs with rarely used schemes (magnet, ipfs, irc, etc.)"
description:"Link URLs with rarely used schemes (magnet, ipfs, irc, etc.)"
},
%{
key::validate_tld,
type:[:atom,:boolean],
description:
"Set to false to disable TLD validation for URLs/emails. Can be set to :no_scheme to validate TLDs only for URLs without a scheme (e.g `example.com` will be validated, but `http://example.loki` won't)",
* `new_window: true` - set to false to remove `target='_blank'` attribute.
* `truncate` - Set to a number to truncate URLs longer then the number. Truncated URLs will end in `...` (default: `false`)
* `scheme: false` - Set to true to link urls with schema `http://google.com`.
* `strip_prefix` - Strip the scheme prefix (default: `false`)
* `truncate: false` - Set to a number to truncate urls longer then the number. Truncated urls will end in `..`.
* `extra` - link URLs with rarely used schemes (magnet, ipfs, irc, etc.) (default: `true`)
* `strip_prefix: true` - Strip the scheme prefix.
* `validate_tld` - Set to false to disable TLD validation for URLs/emails. Can be set to :no_scheme to validate TLDs only for urls without a scheme (e.g `example.com` will be validated, but `http://example.loki` won't) (default: `:no_scheme`)
* `extra: false` - link urls with rarely used schemes (magnet, ipfs, irc, etc.).