4 votes

markdown @replacement

mstdn.io/@expectocode

7 comments

  1. tan
    Link
    oh, good. the @ stuff is not applied to urls containing @. what about bold? @expectocode

    oh, good. the @ stuff is not applied to urls containing @. what about bold? @expectocode

  2. [5]
    Yoshie
    Link
    how about email addresses? test@example.org or rough numbers? ~10

    how about email addresses? test@example.org

    or rough numbers? ~10

    1. [4]
      tan
      Link Parent
      I would guess these aren't linked because either there's a regex of valid usernames - can usernames contain dots? or it checks for existence of the linked thing. e: it doesn't check for existence.

      I would guess these aren't linked because either there's a regex of valid usernames - can usernames contain dots? or it checks for existence of the linked thing.

      e: it doesn't check for existence.

      1 vote
      1. [3]
        Yoshie
        Link Parent
        It doesn't check the existence, because if I do ~nonexistentgroup then it still links it. My guess is that it's because the @ wasn't the first character in the word. @example.org test@example

        It doesn't check the existence, because if I do ~nonexistentgroup then it still links it. My guess is that it's because the @ wasn't the first character in the word. @example.org test@example

        1 vote
        1. tan
          Link Parent
          mystery solved

          mystery solved

        2. not
          Link Parent
          sounds like this will be a problem for the matrix usernames, e.g. @test:matrix.org

          sounds like this will be a problem for the matrix usernames, e.g. @test:matrix.org