Add tests for angle links.

This commit is contained in:
Tom Alexander
2023-10-08 10:13:15 -04:00
parent 488372b070
commit 8bc79f9ef3
16 changed files with 147 additions and 4 deletions

View File

@@ -0,0 +1,25 @@
non-link text
[[eww://foo]]
[[rmail://foo]]
[[mhe://foo]]
[[irc://foo]]
[[info://foo]]
[[gnus://foo]]
[[docview://foo]]
[[bibtex://foo]]
[[bbdb://foo]]
[[w3m://foo]]
[[doi://foo]]
[[file+sys://foo]]
[[file+emacs://foo]]
[[shell://foo]]
[[news://foo]]
[[mailto://foo]]
[[https://foo]]
[[http://foo]]
[[ftp://foo]]
[[help://foo]]
[[file://foo]]
[[elisp://foo]]
[[randomfakeprotocl://foo]]
non-link text

View File

@@ -1,2 +1,16 @@
# Does not become a search option because it is inside parenthesis.
[[https://en.wikipedia.org/wiki/Shebang_(Uni::x)]]
[[file:simple.org::foo]]
[[file:simple.org::#foo]]
[[file:simple.org::foo bar]]
[[file:simple.org::foo
bar]]
[[file:simple.org::foo::bar]]
[[file:simple.org::/foo/]]
[[file://en.wikipedia.org/wiki/Shebang_(Uni::x)]]
[[file:simple.org::*]]
[[file:simple.org::* foo]]
[[file:simple.org::*bar]]
[[file:simple.org::b*az]]