I’m realizing that since #14 requires links to start with ./, ../, /, or scheme: it is possible to detect link blocks by sniffing the line with a regular expression.
We introduced this constraint to disambiguate wiki links from protocol links in #14. The disambiguation opens up an additional approach that was not obvious at the time of the RFC:
Remove sigil from link blocks, restrict them to path and URL, sniff out block type with regular expression.
Introduce a separate wiki link block.
This is very tempting because writing it looks like what you might do absent of any formal syntax. There are tradeoffs though. (TODO: Elaborate on these…)
I’m realizing that since #14 requires links to start with
./
,../
,/
, orscheme:
it is possible to detect link blocks by sniffing the line with a regular expression.We introduced this constraint to disambiguate wiki links from protocol links in #14. The disambiguation opens up an additional approach that was not obvious at the time of the RFC:
This is very tempting because writing it looks like what you might do absent of any formal syntax. There are tradeoffs though. (TODO: Elaborate on these…)