• Tech Tips

    You Can’t Fit a Square Title into a Round Url

    For whatever reason I always mix up the format for markdown links.

    Here are the possibilities (only one is valid):

    1. [https://agileadam.com](View my site)
    2. [View my site](https://agileadam.com)  ← the correct one!
    3. (https://agileadam.com)[View my site]
    4. (View my site)[https://agileadam.com]

    I’ve come up with a mnemonic I’m going to try employing:

    You can’t fit a square title into a round url.

    It’s a variation of the idiom, “You can’t fit a square peg into a round hole.”

    Square brackets. Round parentheses. You get it.

    Update July 12, 2024

    This still isn’t landing for me. “Can’t fit a square peg into a round hole” is easy to remember… but which is the peg and which is the hole? Square URL? Square Title? Round Title? Hmmm.

    Maybe an acronym would serve me better? Here are my initial thoughts:

    • “SLAP” (Square Label, Address in Parentheses)
    • “SNAP” (Square Name, Address in Parentheses)
    • “SLAP” (Square Label, Address in Parentheses)

    If you take a closer look, it’d be easy to accidentally assume “L” means “link” (aka URL), so maybe I should rule those out. That leaves me with “SNAP”, which seems like it’d be worth trying for awhile.

    I wish I knew what drives me to go down these rabbit holes.