Open tomekit opened 8 months ago
Potentially these regexes could be used: https://davidwells.io/snippets/regex-match-markdown-links
/* Match only links that are fully qualified with https */
const fullLinkOnlyRegex = /^\[([\w\s\d]+)\]\((https?:\/\/[\w\d./?=#]+)\)$/
/* Match full links and relative paths */
const regex = /^\[([\w\s\d]+)\]\(((?:\/|https?:\/\/)[\w\d./?=#]+)\)$/
It would be great to have syntax (or similar):
which would allow to provide custom name for the link. E.g.: docs
Possibly related: https://github.com/Cretezy/flutter_linkify/issues/124