Closed gordonbrander closed 3 years ago
In addition to playing with this markup in Subconscious prototypes, I've been converting the markdown posts at https://gordonbrander.com/pattern to test-drive this syntax.
I'm building confidence that this is a good way forward.
Another datapoint: the original wiki used a similar CamelCase WikiLink syntax. C2 Wiki, the original (and best?) wiki uses it. If it's good enough for C2, it's good enough for me.
This proposal does a radical rethink of Subtext link syntax, proposing to replace the current block links with inline links that are much simpler.
The gist:
<https://example.com>
, and can appear anywhere in text.https://example.com
, and Subtext will automatically link them. This only works for http and https, not exotic protocols like<ipfs://asdfasdfasdfasdf>
. Use angle brackets for the funky stuff./slashlink
it's a shortcut for linking to internal pages. Slashlinks can also include paths,/like/this
./slashlinks
are like the#hashtag
of links. A simple syntax for referencing things. Spiritually similar to the original camelcase WikiLink. The simplest thing that could possibly work.Rendered: https://github.com/gordonbrander/subtext/blob/slashlink/rfcs/2021-10-07-slashlinks.md
This PR also introduces a user guide, and rewrites the specification to reflect the proposed changes.