amilner42 / code-tidbit

Share Programming Knowledge Better
GNU General Public License v3.0
9 stars 1 forks source link

Automatic absolute -> relative links in Tidbit markdown #205

Closed amilner42 closed 6 years ago

amilner42 commented 7 years ago

For example, right now, if people put absolute links (like I did), when we switch to https we'll get a bunch of incorrect links. When we submit tidbits to the backend, it'd be nice if it did a check for http://codetidbit.com#.... and dropped everything before the hashtag, that way our users don't have to worry about it.