Isaac Muse
Isaac Muse
It's an interesting idea. Something to consider possibly for the future.
I would be open to it. I haven't really thought about the specific details and constraints, but a PR would give us a starting point and move feature inclusion along...
One thing I'm curious about, this feature, doors it just convert short names to URLs or is it also supposed convert full URLs to these short-handed as well?
Okay, I think for now, prefix should be alphanumeric and allow hyphens. An empty prefix should not be allowed. I'm not sure if we need to restrict prefixes to start...
I guess prefixt should be case sensitive? I don't know how the reference implementation treats such things... My initial though is sensitive, but I'm open to hearing reasons for insensitive...
Classes should be attached to the final link and should mirror how other links are handled. The custom specific class can likely be derived from the prefix (removing trailing hyphens)....
Oh, I think it is also important to make sure these short codes are handled after normal link handling. We were don't want to capture such short codes inside a...
That's fine. In that case, if classes are generated from the prefix, they should be lowercase.
Sounds good. I probably won't have a chance to dig in until this weekend, but I'll take a look as soon as I can.
Okay, so it seems they do require them to start with letters as I was mentioning but allow a few more additional characters as well.