Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support @[email protected] markdown #2579

Open
3 tasks done
Sjmarf opened this issue Jul 3, 2024 · 1 comment
Open
3 tasks done

Support @[email protected] markdown #2579

Sjmarf opened this issue Jul 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Sjmarf
Copy link

Sjmarf commented Jul 3, 2024

Requirements

  • This is a feature request and not a bug report. Otherwise, please create a new bug report instead.
  • Please check to see if this request (or a similar one) already exists.
  • It's a single feature. Please don't request multiple features in one issue.

Describe the feature you'd like

Lemmy-ui renders [email protected] as a community link. It does not render @[email protected] as a user link. Instead, when you start typing a user link in that format, it lets you search Lemmy users and inserts a markdown link like so:

[@[email protected]](https://example.com/u/user)

Is there a reason why it's done this way? Supporting @[email protected] directly as done with community links seems simpler to me.

Side note: is the markdown documentation found here for Lemmy as a whole or just for Lemmy-ui? It seems to be missing a few features that Lemmy-ui supports (strikethrough, tables, community links and footnote references). This makes it unclear which features I need to be supporting as a client developer. If it is indeed incomplete, I’d be happy to expand on it :)

@Sjmarf Sjmarf added the enhancement New feature or request label Jul 3, 2024
@DejayRezme
Copy link

I was reminded about this from this "Lemmy APPs test" post. The problem with the current implementation is that these links work wrong - you click on a user link you go to a different lemmy instance. If you then look for the users posts or want to message or follow them, you stay on the wrong instance. Then you'd have to find the specific post on your own instance to comment etc.

Just @[email protected] should work instead and keep you within your own instance.

Furthermore now that there are so many "historic" posts with the wrong behavior, it might be worth it to transform these http username links back to local username links in the client so even historic username links stay within the local instance. Hope this makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants